public class AKRest extends AbstractCommand
Constructor and Description |
---|
AKRest(EntityID agent,
int time)
Construct a rest command.
|
AKRest(java.io.InputStream in)
An AKRest message that populates its data from a stream.
|
getAgentID, getTime, setAgentID, setTime
addMessageComponent, getComponents, getURN, read, toString, write
public AKRest(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 AKRest(EntityID agent, int time)
agent
- The ID of the agent issuing the command.time
- The time the command was issued.