| Package | Description |
|---|---|
| agents | |
| agents.messages |
| Modifier and Type | Method and Description |
|---|---|
void |
Agent.sendExpressMessage(java.lang.Object object,
MessageType type,
Agent a)
Send express message.
|
void |
Agent.sendMessage(java.lang.Object object,
MessageType type,
Agent a)
Send message.
|
| Modifier and Type | Method and Description |
|---|---|
MessageType |
Message.getType()
Gets the type.
|
static MessageType |
MessageType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
MessageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Message.setType(MessageType type)
Sets the type.
|
| Constructor and Description |
|---|
Message(java.lang.Object content,
MessageType type,
Agent sender)
Instantiates a new message.
|