|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.core.service.boot.KAoSAgent kaos.core.service.util.KAoSAgentMsgForwarder
public class KAoSAgentMsgForwarder
This class extends the KAoSAgent to redirect received messages to external MessageListener. $Revision: 1.1 $
Field Summary |
---|
Fields inherited from class kaos.core.service.boot.KAoSAgent |
---|
_agentDescription, _agentDirectoryService, _agentNamingService, _agentNickname, _lctr, _logger, _messageTransportService, _name, _serviceRoot |
Constructor Summary | |
---|---|
KAoSAgentMsgForwarder()
Instantiates a new KAoS-aware agent using JAS services for transport, naming and agent directory. |
|
KAoSAgentMsgForwarder(MessageListener listener)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Two agents are equal if their respective hash codes are equal. |
int |
hashCode()
Determines the hash code for the KAoSAgentMsgForwarder. |
void |
receiveMessage(TransportMessage tmsg)
Implements the receiveMessage method mandated by the MessageListener interface. |
void |
setMessageRecipient(MessageListener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KAoSAgentMsgForwarder()
public KAoSAgentMsgForwarder(MessageListener listener)
Method Detail |
---|
public void receiveMessage(TransportMessage tmsg)
receiveMessage
in class KAoSAgent
MessageListener
,
TransportMessage
,
"JAS Specification, Section(s) 3.4.2, 4.7.2"public boolean equals(java.lang.Object obj)
equals
in class KAoSAgent
hashCode()
,
"JAS Specification, Section(s) 4.7.2"public int hashCode()
super.hashCode()
.
hashCode
in class KAoSAgent
AgentName#hashCode
,
Object.hashCode()
,
"JAS Specification, Section(s) 4.7.2"public void setMessageRecipient(MessageListener listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |