public interface RouterClient
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress()
Returns this component framework address.
|
void |
processCommand(Command cmd)
An user-implemented method to process a received command.
|
void |
receiveCommand(Command cmd)
A framework-implemented method that receives a command sent by the RouterAgent and calls processCommand.
|
void |
sendCommand(Command cmd)
A framework-implemented method that sends a command to its destination, via RouterAgent if the recipient is another agent.
|
java.lang.String getAddress()
void processCommand(Command cmd)
cmd - the cmdvoid receiveCommand(Command cmd)
cmd - the cmdvoid sendCommand(Command cmd)
cmd - the cmd