public class EntityIDRequest extends AbstractMessage implements Control
Constructor and Description |
---|
EntityIDRequest(java.io.InputStream in)
Construct an EntityIDRequest message that populates its data from a stream.
|
EntityIDRequest(int simID,
int requestID,
int number)
Construct an EntityIDRequest message.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Get the number of IDs requested.
|
int |
getRequestID()
Get the ID of this request.
|
int |
getSimulatorID()
Get the ID of the simulator making the request.
|
addMessageComponent, getComponents, getURN, read, toString, write
public EntityIDRequest(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 EntityIDRequest(int simID, int requestID, int number)
simID
- The ID of the simulator making the request.requestID
- A unique ID number for this request.number
- The number of IDs requested.public int getSimulatorID()
public int getRequestID()
public int getCount()