kaos.core.service.boot.usecase
Class KAoSGuardedUsecase1
java.lang.Object
kaos.core.service.boot.KAoSAgent
kaos.core.service.boot.usecase.KAoSGuardedUsecase1
- All Implemented Interfaces:
- KAoSAgentHelper
public class KAoSGuardedUsecase1
- extends KAoSAgent
$Revision: 1.7 $
Method Summary |
protected KAoSAgentDescription |
establishAgentDescription(java.util.Vector domainNames)
Creates a new KAoSAgentDescription for this KAoSAgent. |
static void |
main(java.lang.String[] args)
|
void |
receiveMessage(TransportMessage tmsg)
Implements the receiveMessage method mandated by the
MessageListener interface. |
Methods inherited from class kaos.core.service.boot.KAoSAgent |
acquireAgentDirectoryService, acquireAgentName, acquireAgentNamingService, acquireMessageTransportService, assertFalse, assertTrue, bindToMessageTransportService, checkPermission, createTransportMessage, equals, findAgentDescriptionForID, findAgentDescriptionForNickname, getAgentID, getKAoSAgentDescription, hashCode, initialize, logMessage, logMessage, printTransportMessage, sendMessage, verifyRegistration |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CONVERSATION_FLAG
protected static final java.lang.String CONVERSATION_FLAG
- See Also:
- Constant Field Values
STATEMENT
protected static final java.lang.String[] STATEMENT
LOGGER
protected static final java.io.PrintStream LOGGER
KAoSGuardedUsecase1
public KAoSGuardedUsecase1()
establishAgentDescription
protected KAoSAgentDescription establishAgentDescription(java.util.Vector domainNames)
- Description copied from class:
KAoSAgent
- Creates a new KAoSAgentDescription for this KAoSAgent.
Populates the description with various key-value pairs.
KAoSAgentDescription extends the JAS AgentDescription
in order to provide some KAoS-specific key-value pairs.
- Overrides:
establishAgentDescription
in class KAoSAgent
- Returns:
- an KAoSAgentDescription for this KAoSAgent.
- See Also:
AgentDescription
,
AgentDirectoryService#createAgentDescription
,
"JAS Specification, Section(s) 2.2.2.6, 4.5.1"
receiveMessage
public void receiveMessage(TransportMessage tmsg)
- Implements the receiveMessage method mandated by the
MessageListener interface. This method simply prints
the incoming TransportMessage to System.out.
- Overrides:
receiveMessage
in class KAoSAgent
- See Also:
MessageListener
,
TransportMessage
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception