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