public class AKAcknowledge extends AbstractMessage implements Control
Constructor and Description |
---|
AKAcknowledge(java.io.InputStream in)
An AKAcknowledge message that populates its data from a stream.
|
AKAcknowledge(int requestID,
EntityID agentID)
AKAcknowledge message with specific request ID and agent ID components.
|
Modifier and Type | Method and Description |
---|---|
EntityID |
getAgentID()
Get the agent ID of this acknowledgement.
|
int |
getRequestID()
Get the request ID of this acknowledgement.
|
addMessageComponent, getComponents, getURN, read, toString, write
public AKAcknowledge(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 AKAcknowledge(int requestID, EntityID agentID)
requestID
- The request ID.agentID
- The agent ID.public int getRequestID()
public EntityID getAgentID()