public class GKConnectOK extends AbstractMessage implements Control
Constructor and Description |
---|
GKConnectOK(java.util.Collection<? extends Entity> entities)
A GKConnectOK with a specified entity list.
|
GKConnectOK(java.io.InputStream in)
A GKConnectOK message that populates its data from a stream.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Entity> |
getEntities()
Get the entity list.
|
addMessageComponent, getComponents, getURN, read, toString, write
public GKConnectOK(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 GKConnectOK(java.util.Collection<? extends Entity> entities)
entities
- The entities to send.public java.util.List<Entity> getEntities()