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, setTime
addMessageComponent, getComponents, getURN, read, toString, write
public 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.