public class AKTell extends AbstractCommand
| Constructor and Description |
|---|
AKTell(EntityID agent,
int time,
byte[] data)
Construct an AKTell command.
|
AKTell(java.io.InputStream in)
An AKTell message that populates its data from a stream.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Get the content of the message.
|
getAgentID, getTime, setAgentID, setTimeaddMessageComponent, getComponents, getURN, read, toString, writepublic AKTell(java.io.InputStream in)
throws java.io.IOException
in - The InputStream to read.java.io.IOException - If there is a problem reading the stream.public AKTell(EntityID agent, int time, byte[] data)
agent - The ID of the agent issuing the command.time - The time the command was issued.data - The content of the command.