Inserts the term t into the list, at the current iterating
position, before the term that is to be returned by the
next() method (see more at ListIterator).
This method is only used by the internal implementation,
is not intended to be used by a user programmer.
Appends a pair to the certificate list
This method, together with the clearCertificateList method allows manipulation of the
certificate list stored by this Member's instance.
This class provides the callers of the generic_receive_lg method of the Member
and ExMember classes with a structured object that stores the answers received
from the controller.
Clears the list of certificates to be submitted during adoption
An agent can submit a list of certificates to its controller as part of the adoption/connection procedure.
This variable maintains the default port used by the infrastructure of controllers for communication
In general, the default controller expects communication on port 9000.
This constructor creates an iterator from a ControlState
object.
This method is only used by the internal implementation,
is not intended to be used by a user programmer.
The same method as deep_equal, except that each operand is transformed to a string then
the comparison is made using String.equals() method (see the mishaps pointed out before, though)
Performance wise, it seems more than 5 times slower than the previous implementation.
This method is the same method as findST(Term t) above, overloaded with a
more suggestive name.
It tries to find a sub term of this compound term (CType or LType)
that matches (unifies) the argument.
This class represents in a single object all the messages that can
possibly circulate between agent-controller, controller-controller
and controller-external_member.
The type of payload the corresponding message carries:
- 0 ( moses.util.Const.SPLD) : s_payload carries the payload and b_payload = o_payload = null
- 1 ( moses.util.Const.BPLD) : b_payload carries the payload and s_payload = o_payload = null
- 2 ( moses.util.Const.OPLD) : o_payload carries the payload and s_payload = b_payload = null
Any other value than the above ones is invalid and indicates that the message is corrupted.
Read (deserializing) method: Considering the layout presented in the
description of this class, first read the first Integer coming from the
DataInputStream argument.
Write(serializing) method: initially resets a ByteArrayOutputStream object
then proceeds in writing all the data into the byte array, according to
the message layout.