|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.agent.FIPAOSAgent | +--repserver.RepProxy
RepProxy is the message proxy for a replicant group. Each RepGroup has one. RepProxy waits (IdleTask) for messages either from one of its replicant group or from another agent in the MAS. Messages from agents in the replicant group arrive as PROPAGATE performatives.
Inner Class Summary | |
class |
RepProxy.ConvHandlerTask
Handle a conversation |
class |
RepProxy.IdleTask
IdleTask. |
Inner classes inherited from class fipaos.agent.FIPAOSAgent |
fipaos.agent.FIPAOSAgent.TopLevelHandlerTask |
Fields inherited from class fipaos.agent.FIPAOSAgent |
_database_profile, _registered_with, _state, _tm |
Constructor Summary | |
RepProxy(java.lang.String platform,
java.lang.String name,
java.lang.String ownership,
java.lang.String agent_type,
RepGroup repgroup)
constructor - sets up an IdleTask as the default ListenerTask for incoming messages, and starts off registration with the AMS and DF |
Method Summary | |
int |
getConvs()
|
LocalPostOffice |
getLocalPostOffice()
|
fipaos.ont.fipa.fipaman.AgentID |
getReceiver(fipaos.ont.fipa.ACL acl)
retreive the replytoAID. |
static void |
main(java.lang.String[] args)
A main method to enable the agent to be run from the command line. |
void |
setLocalPostOffice(LocalPostOffice lpo)
|
void |
shutdown()
Invoked when this Agent is about to be shutdown - this overrides the shutdown() method in the FIPAOSAgent class to enable the RepServerGUI associated with this RepServer to be removed |
Methods inherited from class fipaos.agent.FIPAOSAgent |
activate, addNewProtocol, deregisterWithAMS, deregisterWithDF, forward, forward, getAID, getCM, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, knowsProtocol, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, registeredWith, registeredWithAMS, registeredWithDF, registerWithAMS, registerWithAMS, registerWithAMS, registerWithAMS, registerWithDF, registerWithDF, registerWithDF, registerWithDF, sendNotUnderstood, sendNotUnderstood, setListenerTask, setMessageSender, startPushing, waitForPushLock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RepProxy(java.lang.String platform, java.lang.String name, java.lang.String ownership, java.lang.String agent_type, RepGroup repgroup)
Method Detail |
public void shutdown()
shutdown
in class fipaos.agent.FIPAOSAgent
public fipaos.ont.fipa.fipaman.AgentID getReceiver(fipaos.ont.fipa.ACL acl)
public int getConvs()
public void setLocalPostOffice(LocalPostOffice lpo)
setLocalPostOffice
in interface LocalMsg
public LocalPostOffice getLocalPostOffice()
getLocalPostOffice
in interface LocalMsg
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |