A B C D E F G H I K L M N O P R S T U V W

A

add(Term) - Method in class moses.controlState.CSIterator
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.
addCertificate(LGICert, byte[]) - Method in class moses.member.Member
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.
addST(Term) - Method in class moses.controlState.Term
This method adds a (sub) term to the VValue vector.
addSubTerm(Term) - Method in class moses.controlState.Term
This method adds a (sub) term to the VValue vector.
adopt(String, String) - Method in class moses.member.Member
This method request a TCPIP connection between this member object and the controller.
adopted(String) - Method in class moses.controller.Law
Adopted event.
adopted(String, String[], String[], String[]) - Method in class moses.controller.Law
Adopted event.
Agent - interface moses.member.Agent.
This interface allows the objects implementing it to receive messages asynchronously from a Member instance.
AList - Variable in class moses.controller.Law
Removed and Appended Term List.
Answer - class moses.member.Answer.
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.
Answer(Message) - Constructor for class moses.member.Answer
The class constructor, takes a message and it transfers its fields into the corresponding fields of an Answer class.
append_message(Answer) - Method in class moses.member.ExMember
Internal method used by the generic_receive_lg for handling the implicit message queue.
appToStringBuff(StringBuffer) - Method in class moses.controlState.Term
Helper method, not intended to be used directly.
arg1 - Variable in class moses.message.Message
Holds the adoption argument supplied by the actor.
arg2 - Variable in class moses.message.Message
Holds an extra adoption argument; not used at present time.
arrived(String, byte[], String) - Method in class moses.controller.Law
Arrived event.
arrived(String, Message, String) - Method in class moses.controller.Law
Arrived event.
arrived(String, Object, String) - Method in class moses.controller.Law
Arrived event.
arrived(String, String, byte[], String) - Method in class moses.controller.Law
Arrived event.
arrived(String, String, Message, String) - Method in class moses.controller.Law
Arrived event.
arrived(String, String, Object, String) - Method in class moses.controller.Law
Arrived event.
arrived(String, String, String) - Method in class moses.controller.Law
Arrived event.
arrived(String, String, String, String) - Method in class moses.controller.Law
Arrived event.
auth_method - Variable in class moses.member.ExMember
This is the authentication method used by this ExMember when submitting messages for the controller.

B

b_payload - Variable in class moses.member.Answer
Byte array payload, valid when p_type == 1.
b_payload - Variable in class moses.message.Message
Holds the byte array payload of this message according to the type of the message; null otherwise.

C

cert - Variable in class moses.member.ExMember
This variable holds the certificate to be submitted when the chosen authentication method is Const.A_CERT.
cert - Variable in class moses.member.Answer
Certificate field, holds a certificate sent by the controller.
cert - Variable in class moses.message.Message
Holds the LGI certificate when such a certificate is exchanged during a particular message.
certCreation - class moses.security.certCreation.
This class allows for additional handling of certificates and public/private keys.
certCreation() - Constructor for class moses.security.certCreation
 
certified(String, String, String, String) - Method in class moses.controller.Law
Certified event.
changePassword(String, String) - Method in class moses.member.Member
This method is one of the two methods used by an agent to change its reconnecting password.
clearCertificateList() - Method in class moses.member.Member
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.
Clock - Variable in class moses.controller.Law
"Clock" environment variable
close_connection(String, int) - Method in class moses.member.ExMember
This method is exposed in order to give the user a minimal control over what connections should be terminated explicitly.
close() - Method in class moses.member.Member
 
close() - Method in class moses.member.ExMember
This method gracefully terminates the interaction session for this ExMember object.
connections - Variable in class moses.member.ExMember
 
controllerHost - Variable in class moses.member.Member
Variable maintaining the name of the controller host.
controllerLongName - Variable in class moses.member.Member
Variable maintaining the long name of the controller host.
controllerPort - Variable in class moses.member.Member
Variable maintaining the port of the controller.
copy() - Method in class moses.message.Message
Copy itself into a new Message object.
cport - Variable in class moses.member.ExMember
This variable maintains the default port used by the infrastructure of controllers for communication In general, the default controller expects communication on port 9000.
created(String, String, String) - Method in class moses.controller.Law
Created event.
CS - Variable in class moses.controller.Law
Control State and Distinguished Control State Terms.
CSIterator - class moses.controlState.CSIterator.
This object is an iterator that allows iterations through all the terms of a list type or compound term (control state included).
CSIterator(ControlState) - Constructor for class moses.controlState.CSIterator
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.
CSIterator(Term) - Constructor for class moses.controlState.CSIterator
This constructor creates an iterator from a Term object.
CType - Static variable in class moses.controlState.Term
Non-atomic compound type term.

D

d_hash - Variable in class moses.message.Message
The hash of the destination law.
DCS - Variable in class moses.controller.Law
Control State and Distinguished Control State Terms.
deep_clone() - Method in class moses.controlState.Term
Deep cloning method: creates a deep copy of this object and returns it.
deep_equals(Object) - Method in class moses.controlState.Term
Deep implementation of the equals() method.
deep_equals1(Object) - Method in class moses.controlState.Term
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.
DEFAULT_AS - Static variable in class moses.message.Message
Minimum default size of a message; it represents the preallocated space for a ByteArrayOutputStream
DEFAULT_MAXS - Static variable in class moses.message.Message
The maximum size allowed for a message.
dest - Variable in class moses.member.Answer
The destination of the message.
dest - Variable in class moses.message.Message
Holds the moses name of the destination of this message.
disconnected() - Method in class moses.controller.Law
This event is triggered when an agent disconnects from its controller.
doAdd(String) - Method in class moses.controller.Law
Control State primitive operation.
doAdd(Term) - Method in class moses.controller.Law
Control State primitive operation.
doAddAuthority(String, String) - Method in class moses.controller.Law
Authority Table primitive operation.
doAddAuthorityH(String, String) - Method in class moses.controller.Law
Authority Table primitive operation.
doAddAuthorityU(String, String) - Method in class moses.controller.Law
Authority Table primitive operation.
doAddCS(String) - Method in class moses.controller.Law
Control State primitive operation.
doAddCS(Term) - Method in class moses.controller.Law
Control State primitive operation.
doAddPortal(String, String) - Method in class moses.controller.Law
Portal Table primitive operation.
doAddPortalH(String, String) - Method in class moses.controller.Law
Portal Table primitive operation.
doAddPortalHA(String, String, String) - Method in class moses.controller.Law
Portal Table primitive operation.
doAddPortalU(String, String) - Method in class moses.controller.Law
Portal Table primitive operation.
doAddPortalUA(String, String, String) - Method in class moses.controller.Law
Portal Table primitive operation.
doCreate(String, String, String, String) - Method in class moses.controller.Law
Reflexive-agent primitive operation.
doCreate(String, String, String, String, String) - Method in class moses.controller.Law
Reflexive-agent primitive operation.
doCreateFP() - Method in class moses.controller.Law
Control State primitive operation.
doDecr(String, int) - Method in class moses.controller.Law
Control State primitive operation.
doDecr(Term, int) - Method in class moses.controller.Law
Control State primitive operation.
doDelAuthority(String) - Method in class moses.controller.Law
Authority Table primitive operation.
doDeliver() - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(Message) - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(String, byte[], String) - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(String, Message, String) - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(String, Object, String) - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(String, String, byte[], String) - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(String, String, Message, String) - Method in class moses.controller.Law
Deliver primitive operation, with Message data type.
doDeliver(String, String, Object, String) - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(String, String, String) - Method in class moses.controller.Law
Deliver primitive operation.
doDeliver(String, String, String, String) - Method in class moses.controller.Law
Deliver primitive operation.
doDelPortal(String) - Method in class moses.controller.Law
Portal Table primitive operation.
doDiscloseAllCS() - Method in class moses.controller.Law
Control State primitive operation.
doDiscloseCS(String) - Method in class moses.controller.Law
Control State primitive operation.
doDiscloseCS(Term) - Method in class moses.controller.Law
Control State primitive operation.
doDiscloseLaw() - Method in class moses.controller.Law
Control State primitive operation.
doEnterTest() - Method in class moses.controller.Law
Test and help primitive operation.
doExitTest() - Method in class moses.controller.Law
Test and help primitive operation.
doForward() - Method in class moses.controller.Law
Forward primitive operation.
doForward(Message) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, byte[], String) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, byte[], String, String) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, Message, String) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, Message, String, String) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, Object, String) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, Object, String, String) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, String, String) - Method in class moses.controller.Law
Forward primitive operation.
doForward(String, String, String, String) - Method in class moses.controller.Law
Forward primitive operation.
doImposeObligation(String, int) - Method in class moses.controller.Law
Obligation primitive operation.
doImposeObligation(String, int, String) - Method in class moses.controller.Law
Obligation primitive operation.
doImposeObligation(Term, int) - Method in class moses.controller.Law
Obligation primitive operation.
doImposeObligation(Term, int, String) - Method in class moses.controller.Law
Obligation primitive operation.
doImposeStateObligation(String) - Method in class moses.controller.Law
Auditing primitive operation.
doImposeStateObligation(Term) - Method in class moses.controller.Law
Auditing primitive operation.
doImposeStateObligationAll() - Method in class moses.controller.Law
Auditing primitive operation.
doIncr(String, int) - Method in class moses.controller.Law
Control State primitive operation.It increments the term from the Control State that matches exactly the first argument with the second one.
doIncr(Term, int) - Method in class moses.controller.Law
Control State primitive operation.
doList - Variable in class moses.controller.Law
This variable holds the list of do operation as resulted after evaluation of each event.
doMulticast(String[], String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, byte[], String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, byte[], String[], String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, Message, String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, Message, String[], String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, Object, String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, Object, String[], String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, String, String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doMulticast(String, String, String[], String[]) - Method in class moses.controller.Law
Multicast primitive operation.
doQuit() - Method in class moses.controller.Law
Agent primitive operation.
doRelease(Message) - Method in class moses.controller.Law
Release primitive operation.
doRelease(String, byte[], String, int) - Method in class moses.controller.Law
Release primitive operation.
doRelease(String, Message, String, int) - Method in class moses.controller.Law
Release primitive operation.
doRelease(String, Object, String, int) - Method in class moses.controller.Law
Release primitive operation.
doRelease(String, String, String, int) - Method in class moses.controller.Law
Release primitive operation.
doRemove(String) - Method in class moses.controller.Law
Control State primitive operation.
doRemove(Term) - Method in class moses.controller.Law
Control State primitive operation.
doRepealObligation(String) - Method in class moses.controller.Law
Obligation primitive operation.
doRepealObligation(Term) - Method in class moses.controller.Law
Obligation primitive operation.
doRepealStateObligation(String) - Method in class moses.controller.Law
Auditing primitive operation.
doRepealStateObligation(Term) - Method in class moses.controller.Law
Auditing primitive operation.
doRepealStateObligationAll() - Method in class moses.controller.Law
Auditing primitive operation.
doReplace(String, String) - Method in class moses.controller.Law
Control State primitive operation.
doReplace(Term, Term) - Method in class moses.controller.Law
Control State primitive operation.
doReplaceCS(String) - Method in class moses.controller.Law
Control State primitive operation.
doReplaceCS(Term) - Method in class moses.controller.Law
Control State primitive operation.
doSetPassword(String) - Method in class moses.controller.Law
Agent primitive operation.
doShowEvents(String, String) - Method in class moses.controller.Law
Test and help primitive operation.
doShowEvents(Term, Term) - Method in class moses.controller.Law
Test and help primitive operation.

E

ex_po - Variable in class moses.message.Message
This field contains the type of the payload of the original message reported during an exception message.
exception(Message, String) - Method in class moses.controller.Law
Exception event.
exception(String, byte[], String, int, String) - Method in class moses.controller.Law
Exception event.
exception(String, byte[], String, String, String) - Method in class moses.controller.Law
Exception event.
exception(String, Object, String, int, String) - Method in class moses.controller.Law
Exception event.
exception(String, Object, String, String, String) - Method in class moses.controller.Law
Exception event.
exception(String, String, String, int, String) - Method in class moses.controller.Law
Exception event.
exception(String, String, String, String) - Method in class moses.controller.Law
Exception event.
exception(String, String, String, String, String) - Method in class moses.controller.Law
Exception event.
ExMember - class moses.member.ExMember.
This class represent the communication interface between an LGI agent and an external (non-LGI) agent.
ExMember(int, int) - Constructor for class moses.member.ExMember
The constructor of this class is mainly responsible for instantiating an ExMember variable.

F

fcause - Variable in class moses.message.Message
Holds the failure cause during an exception message.
fetchInt(String) - Method in class moses.controlState.Term
This method searches in this compound or list term for a term with a functor that equals the argument, and whose only sub term is an integer.
find(String) - Method in class moses.controlState.Term
This method is the same method as findST(Term t) above, overloaded with String argument.
find(Term) - Method in class moses.controlState.Term
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.
findST(Term) - Method in class moses.controlState.Term
This method tries to find a sub term of this compound term (CType or LType) that matches (unifies) the argument.
findT(String) - Method in class moses.controlState.Term
Finds a term or a pattern of a term in a compound term or a list, and returns it.
findT(Term) - Method in class moses.controlState.Term
This method is the same as above findT(String sterm), except it is overloaded with a Term type argument.
FType - Static variable in class moses.controlState.Term
Atomic float type term.
functor - Variable in class moses.controlState.Term
This field has double purpose: in the case of SType terms, it holds the value of this term.
FValue - Variable in class moses.controlState.Term
This field maintains the float value of a FType term.

G

generic_receive_lg() - Method in class moses.member.Member
This method is the main method used by an agent for receiving messages.
generic_receive_lg() - Method in class moses.member.ExMember
This method is the method used in receiving incoming messages.
GenericAgent - interface moses.member.GenericAgent.
This interface allows the objects implementing it to receive messages asynchronously from a Member instance.
GenericReceiver - class moses.member.GenericReceiver.
This class allows the receiving of LGI messages asynchronously, thus supplementing the Member class.
GenericReceiver(GenericAgent, Member) - Constructor for class moses.member.GenericReceiver
The constructor of this class creates a new generic receiver object.
get(int) - Method in class moses.controlState.Term
This method retrieves the sub term in VValue vector at position index.
getArity() - Method in class moses.controlState.Term
This method returns the arity of this compound or list-type term.
getATerm(String) - Static method in class moses.controlState.Term
This method creates a atomic Term out of a given string argument.
getAttributes() - Method in class moses.security.LGICert
Getter method.
getCert(String) - Static method in class moses.security.certCreation
This method reads a previously saved certificate from its file.
getFloat() - Method in class moses.controlState.Term
Getter method, it retrieves the FValue of this term.
getFunctor() - Method in class moses.controlState.Term
Getter method, it retrieves the functor of this term.
getHashOfKey(PublicKey) - Static method in class moses.security.Secu
This method is used to compute the secure MD5 hash of a public key.
getInteger() - Method in class moses.controlState.Term
Getter method, it retrieves the IValue field of this term.
getIssuer() - Method in class moses.security.LGICert
Getter method.
getPrivate() - Method in class moses.security.KeyGenerator
Getter method.
getPrivateKey(String) - Static method in class moses.security.certCreation
This method reads a previously saved private key from its file.
getPublic() - Method in class moses.security.KeyGenerator
Getter method.
getPublicKey(String) - Static method in class moses.security.certCreation
This method reads a previously saved public key from its file.
getSignature() - Method in class moses.security.LGICert
Getter method.
getSubject() - Method in class moses.security.LGICert
Getter method.
getSubTerm(int) - Method in class moses.controlState.Term
This method retrieves the sub term in VValue vector at position index.
getSVar(String) - Method in class moses.controlState.UnifyResult
Returns the string representation of the term bound to variable var provided as argument.
getTerm() - Method in class moses.controlState.UnifyResult
This method returns the complete term that has been unified.
getTerm(String) - Static method in class moses.controlState.Term
This method parses a string into a term.
getTVar(String) - Method in class moses.controlState.UnifyResult
Returns the term bound to the variable provided as argument.
getType() - Method in class moses.controlState.Term
Getter method, it retrieves the type of this term.
getVector() - Method in class moses.controlState.Term
Getter method, it retrieves the VValue vector in this term.

H

has(String) - Method in class moses.controlState.Term
This method searches for the pattern argument within this term.
has(Term) - Method in class moses.controlState.Term
The same as above, except that it is overloaded with a term type argument.
hasNext() - Method in class moses.controlState.CSIterator
This method returns true if there are more elements to perform in this iterator.
hnp(String, int) - Static method in class moses.member.ExMember
 

I

incrementable() - Method in class moses.controlState.Term
This method verifies that a term is of incrementable form (of compound type, with exactly one sub term, which is of type IType or FType).
IType - Static variable in class moses.controlState.Term
Atomic integer type term.
IValue - Variable in class moses.controlState.Term
This field maintains the integer value of a IType term.

K

KeyGenerator - class moses.security.KeyGenerator.
This class provides methods for generating DSA (Digital Signature Algorithm) public/private key pairs.
KeyGenerator() - Constructor for class moses.security.KeyGenerator
The constructor of this class creates a public/private key pair and stores the values in two private variable for later retrieval.
keyPairCreation - class moses.security.keyPairCreation.
This class allows for handling of public/private keys, other than the functionality found in certCreation and KeyGenerator classes.
keyPairCreation() - Constructor for class moses.security.keyPairCreation
 

L

l_type - Variable in class moses.message.Message
Holds the type of the law referenced in this message; it is either Const.IMM or Const.URL.
law - Variable in class moses.member.Member
Variable maintaining the law this agent operates under.
law - Variable in class moses.message.Message
Holds the law URL
Law - class moses.controller.Law.
The Law class is the root of all java law classes.
Law() - Constructor for class moses.controller.Law
 
LGICert - class moses.security.LGICert.
This class is the LGI own implementation of a digital certificate.
LGICert(PublicKey, PublicKey, String, byte[]) - Constructor for class moses.security.LGICert
LGI certificate constructor.
LGICert(PublicKey, PublicKey, String, PrivateKey) - Constructor for class moses.security.LGICert
LGI certificate constructor.
lname - Variable in class moses.member.Answer
Law name field, indicates the name of the law the source agent of this message operates under.
longName - Variable in class moses.member.Member
Variable maintaining the full name of an agent.
LType - Static variable in class moses.controlState.Term
Non-atomic list type term.

M

main(String[]) - Static method in class moses.member.Member
 
main(String[]) - Static method in class moses.member.ExMember
 
main(String[]) - Static method in class moses.security.certCreation
This method is invoked when running this class as a stand alone program.
main(String[]) - Static method in class moses.security.keyPairCreation
This method is invoked when running this class as a stand alone program.
main(String[]) - Static method in class moses.controlState.Term
 
main(String[]) - Static method in class moses.message.Message
 
make(String, int, String) - Method in class moses.member.ExMember
Internal method designed to create or retrieve a connection from the connection pool, based on the host and port of the controller.
MAX_NACK - Static variable in class moses.member.Member
Constant specifying the maximum number of unacknowledged message at any moment of time.
MAX_SLEEP - Static variable in class moses.member.Member
Constant specifying the maximum amount of time (in milli-seconds ) elapsed without acknowledging a message.
Member - class moses.member.Member.
This class represents the communication interface between an agent and its controller.
Member(String, int, String, int, String) - Constructor for class moses.member.Member
Shorter version of the previous constructor, where no certifying authority public key is supplied.
Member(String, int, String, int, String, PublicKey) - Constructor for class moses.member.Member
Creates a new member instance.
Member(String, String, int, String) - Constructor for class moses.member.Member
The shortest form of the constructor.
Message - class moses.message.Message.
This class represents in a single object all the messages that can possibly circulate between agent-controller, controller-controller and controller-external_member.
Message() - Constructor for class moses.message.Message
The default constructor, allocates and initializes all necessary structures for a message.
messages - Variable in class moses.member.ExMember
 
moses.controller - package moses.controller
 
moses.controlState - package moses.controlState
 
moses.member - package moses.member
 
moses.message - package moses.message
 
moses.security - package moses.security
 
Msg - Variable in class moses.controller.Law
Environment variables.

N

next() - Method in class moses.controlState.CSIterator
This method returns the next element to perform in this iterator.

O

o_payload - Variable in class moses.member.Answer
Object payload, valid when p_type == 2.
o_payload - Variable in class moses.message.Message
Holds the Object payload of this message according to the type of the message; null otherwise.
obligationDue(Term) - Method in class moses.controller.Law
This event is triggered when an obligation imposed on this agent becomes due.
opwd - Variable in class moses.message.Message
Holds the old reconnection password during changing the password.

P

p_type - Variable in class moses.member.Answer
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.
p_type - Variable in class moses.message.Message
Maintains the payload type: String, Object and byte array.
parse(String) - Static method in class moses.controlState.Term
This method is the same as getTerm(String sTerm), overloaded with a friendlier, more suggestive name.
Peer - Variable in class moses.controller.Law
 
PeerHash - Variable in class moses.controller.Law
 
processReply(Member, Answer) - Method in interface moses.member.GenericAgent
This method will be called by the GenericReceiver dispatcher whenever the Member associated object will receive a message.
processReply(Member, byte[]) - Method in interface moses.member.Agent
This method will be called by the Receiver dispatcher whenever the Member associated object will receive a byte array message.
processReply(Member, Object) - Method in interface moses.member.Agent
This method will be called by the Receiver dispatcher whenever the Member associated object will receive an object message.
processReply(Member, String) - Method in interface moses.member.Agent
This method will be called by the Receiver dispatcher whenever the Member associated object will receive a string message.
processRequest(Member, String, String) - Method in interface moses.member.Agent
This method is deprecated and it is maintained only for legacy reasons.
put(String, Term) - Method in class moses.controlState.UnifyResult
Appends a new binding into the hashtable.
putCert(LGICert, String) - Static method in class moses.security.certCreation
This method saves the provided certificate into a file.
putPrivateKey(PrivateKey, String) - Static method in class moses.security.keyPairCreation
This method saves the provided private key into a file.
putPublicKey(PublicKey, String) - Static method in class moses.security.keyPairCreation
This method saves the provided public key into a file.
pwd - Variable in class moses.member.ExMember
This variable holds the password to be submitted if the authentication method is Const.A_PWD.
pwd - Variable in class moses.message.Message
Holds the reconnection password of the actor.

R

read(DataInput) - Method in class moses.message.Message
Read (deserializing) method: Considering the layout presented in the description of this class, first read the first Integer coming from the DataInputStream argument.
receive_lg() - Method in class moses.member.Member
This method is designed mainly to maintain backwards compatibility with previous versions of Moses system.
Receiver - class moses.member.Receiver.
This class allows the receiving of LGI messages asynchronously, thus supplementing the Member class.
Receiver(Agent, Member) - Constructor for class moses.member.Receiver
The constructor of the class creates a new receiver object.
receiveXML_lg() - Method in class moses.member.Member
This method is mostly similar to the previous receive_lg method.
reconnect(String) - Method in class moses.member.Member
This method attempts to reestablish a connection with a controller, given that the controller maintains the state for this agent.
reconnected() - Method in class moses.controller.Law
This event is triggered when an agent reconnects to a controller after some off-line period.
remove_connection(ExConnection) - Method in class moses.member.ExMember
Internal method used for handling of the implicit connections.
remove() - Method in class moses.controlState.CSIterator
Removes from the list the last element that was returned by next() method (see more at ListIterator).
RList - Variable in class moses.controller.Law
Removed and Appended Term List.
run() - Method in class moses.member.Member
Thread that runs in background and acknowledge messages each MAX_SLEEP ms.
run() - Method in class moses.member.ExMember
This method represent the background server daemon responsible for accepting connections from the controller.
run() - Method in class moses.member.Receiver
This method implements the main thread of the receiver.
run() - Method in class moses.member.GenericReceiver
This method implements the main thread of the receiver.

S

s_hash - Variable in class moses.message.Message
This field contains the hash of the law of the source of the message.
s_lname - Variable in class moses.message.Message
The name of the law of the source of the message; necessary only as a suggestion, when the destination is not in the portal.
s_payload - Variable in class moses.member.Answer
String payload, valid when p_type == 0.
s_payload - Variable in class moses.message.Message
Holds the String payload of this message according to the type of the message; null otherwise.
Secu - class moses.security.Secu.
This class is a generic class providing a set of tools dealing with creation and verification of digital signatures, certificates, and hashes.
Secu() - Constructor for class moses.security.Secu
 
Self - Variable in class moses.controller.Law
 
send_lg(byte[], String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
send_lg(byte[], String, String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
send_lg(Object, String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
send_lg(Object, String, String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
send_lg(String, String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
send_lg(String, String, String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
send(byte[], String) - Method in class moses.member.ExMember
A byte array method used for sending messages to a controller (and subsequently to an LGI agent).
send(Message, String, int) - Method in class moses.member.ExMember
Method used internally for sending messages to the controller.
send(Object, String) - Method in class moses.member.ExMember
An object method used for sending messages to a controller (and subsequently to an LGI agent).
send(String, String) - Method in class moses.member.ExMember
The main method (in a set of 3 methods) used for sending messages to a controller (and subsequently to an LGI agent).
sendCertificate(LGICert) - Method in class moses.member.Member
This method is used by an agent to submit an LGI certificate to its controller.
sendSelfCertificate(LGICert, byte[]) - Method in class moses.member.Member
This method is used by an agent to submit an LGI self certificate to its controller.
sendXML_lg(String, String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
sendXML_lg(String, String, String) - Method in class moses.member.Member
This method is used by any agent that is curently connected to a controller in order to send LGI (regulated) messages.
sent(String, byte[], String) - Method in class moses.controller.Law
Sent event.
sent(String, byte[], String, String) - Method in class moses.controller.Law
Sent event.
sent(String, Message, String) - Method in class moses.controller.Law
Sent event.
sent(String, Message, String, String) - Method in class moses.controller.Law
Sent event.
sent(String, Object, String) - Method in class moses.controller.Law
Sent event.
sent(String, Object, String, String) - Method in class moses.controller.Law
Sent event.
sent(String, String, String) - Method in class moses.controller.Law
Sent event.
sent(String, String, String, String) - Method in class moses.controller.Law
Sent event.
seq_no - Variable in class moses.message.Message
Maintains the message sequence number.
set(Term) - Method in class moses.controlState.CSIterator
Replaces the last element that was returned by next() method with the argument element (see more at ListIterator).
setAuthenticationCert(LGICert, byte[]) - Method in class moses.member.ExMember
This method sets the authentication mechanism to be certificate oriented.
setAuthenticationNone() - Method in class moses.member.ExMember
This method resets any authentication mechanism to the Const.A_NONE.
setAuthenticationPwd(String) - Method in class moses.member.ExMember
This method sets the authentication mechanism to be password oriented.
setControllerDefaultPort(int) - Method in class moses.member.ExMember
This method sets the controller port of contact to the value specified in the argument.
setFloat(float) - Method in class moses.controlState.Term
This method sets the FValue field of this object directly.
setFunctor(String) - Method in class moses.controlState.Term
This method sets the functor field of this object directly.
setInteger(int) - Method in class moses.controlState.Term
This method sets the IValue field of this object directly.
setSubTerm(int, Term) - Method in class moses.controlState.Term
This method sets (replaces) the component at position index of the VValue field to the term argument.
setTerm(Term) - Method in class moses.controlState.UnifyResult
This method sets the complete term that has been unified.
shortName - Variable in class moses.member.Member
Variable maintaining the short name of an agent.
shost - Variable in class moses.member.ExMember
This variable maintain the host name of the machine where the ExMember is running at a particular instance.
sign - Variable in class moses.member.ExMember
This variable holds the signature to be submitted along with a certificate when the chosen authentication method is Const.A_CERT.
sign - Variable in class moses.member.Answer
Signature field, holds a signature over a certificate sent by the controller along with a certificate.
sign - Variable in class moses.message.Message
Holds the signature of a self-certificate when such a certificate is exchanged during a particular message.
sign(String, PrivateKey) - Static method in class moses.security.Secu
This method signs a message using a provided private key.
signCertificate(PublicKey, PublicKey, String, PrivateKey) - Static method in class moses.security.Secu
This method signs the components of a certificate.
signSelfCertificate(LGICert, PrivateKey) - Static method in class moses.security.Secu
This method signs a self certificate.
source - Variable in class moses.member.Answer
The source of the message: this is either the Moses syntax name for the source or another law-replaced string.
source - Variable in class moses.message.Message
Holds the moses name of the source of this message.
sport - Variable in class moses.member.ExMember
This variable holds the master port number, the port used by this ExMember to wait for incoming connections from a controller.
sport - Variable in class moses.message.Message
Sender port for a submitted message.
ss - Variable in class moses.member.ExMember
 
stat - Variable in class moses.member.Answer
The status field of this answer: not utilized in this version.
stateChanged() - Method in class moses.controller.Law
This event is triggered when an audited term in the control state is modified as a result of a previous primitive operation affecting the state.
status - Variable in class moses.message.Message
Status answer the controller reports to the actor.
SType - Static variable in class moses.controlState.Term
Atomic String type term.
SubjectHash - Variable in class moses.controller.Law
 
submitted(String, int, byte[], String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, byte[], String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, byte[], String, String, String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, Message, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, Message, String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, Message, String, String, String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, Object, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, Object, String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, Object, String, String, String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, String, String, String) - Method in class moses.controller.Law
Submitted event.
submitted(String, int, String, String, String, String, String) - Method in class moses.controller.Law
Submitted event.

T

Term - class moses.controlState.Term.
The LGI control state is a Prolog-like bag of terms.
Term(double) - Constructor for class moses.controlState.Term
Constructor that builds an FType term out of a double value.
Term(float) - Constructor for class moses.controlState.Term
Constructor that builds an FType term out of a float value.
Term(int) - Constructor for class moses.controlState.Term
Constructor that builds an IType term out of an int value.
Term(String) - Constructor for class moses.controlState.Term
Constructor that builds an SType term out of a String value.
Term(String, int) - Constructor for class moses.controlState.Term
Constructor that builds a term object given a functor and its type.
test(String, String) - Method in class moses.member.Member
This method sends a special TEST - type message to the controller.
ThisLawHash - Variable in class moses.controller.Law
 
ThisLawName - Variable in class moses.controller.Law
 
toString() - Method in class moses.controlState.Term
This method transforms a Term object into its string representation.
toString1() - Method in class moses.controlState.Term
Testing/helper method: it transforms this term into a string representation.
type - Variable in class moses.member.Answer
The type of message received.
type - Variable in class moses.controlState.Term
This field maintains the type of this Term.
type - Variable in class moses.message.Message
Variable maintaining the type of the message being sent.

U

unify(Term) - Method in class moses.controlState.Term
Method that unifies this term with a given argument.
unify(Term, Hashtable) - Method in class moses.controlState.Term
Helper method.
UnifyResult - class moses.controlState.UnifyResult.
This class represents the result of a unification (or pattern matching) procedure.
UnifyResult() - Constructor for class moses.controlState.UnifyResult
Default constructor, not used in applications.
UnifyResult(Hashtable) - Constructor for class moses.controlState.UnifyResult
Constructor that creates an UnifyResult object out of a provided hashtable.
UnifyResult(Hashtable, Term) - Constructor for class moses.controlState.UnifyResult
Constructor that creates an UnifyResult object out of a provided hashtable and a unified complete term.

V

VAR - Static variable in class moses.controlState.UnifyResult
 
vars - Variable in class moses.controlState.UnifyResult
 
verifyCertificate(LGICert) - Static method in class moses.security.Secu
This method is used to verify the integrity of a certificate.
verifyControllerCert(LGICert, byte[]) - Static method in class moses.security.Secu
This method verifies a controller's self-certificate.
verifyControllerCert(LGICert, byte[], PublicKey) - Static method in class moses.security.Secu
This method verifies a controller's self-certificate.
verifySelfCertificate(LGICert, byte[]) - Static method in class moses.security.Secu
 
verifySignature(String, PublicKey, byte[]) - Static method in class moses.security.Secu
This method is used to verify the authenticity of a digital signature.
VValue - Variable in class moses.controlState.Term
This field maintains the sub terms of this term in the case of CType and LType terms.

W

write_cached(DataOutput) - Method in class moses.message.Message
Version of write method where data to serialized is assumed to have been previously cached in the "recv" byte array (perhaps from a previous read).
write(DataOutput) - Method in class moses.message.Message
Write(serializing) method: initially resets a ByteArrayOutputStream object then proceeds in writing all the data into the byte array, according to the message layout.

A B C D E F G H I K L M N O P R S T U V W