public class AKSay extends AbstractCommand
| Constructor and Description |
|---|
AKSay(EntityID agent,
int time,
byte[] data)
Construct a say command.
|
AKSay(java.io.InputStream in)
An AKSay 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 AKSay(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 AKSay(EntityID agent, int time, byte[] data)
agent - The ID of the agent issuing the command.data - The content of the command.time - The time the command was issued.