public class KAConnectOK extends AbstractMessage implements Control
| Constructor and Description | 
|---|
| KAConnectOK(java.io.InputStream in)A KAConnectOK message that populates its data from a stream. | 
| KAConnectOK(int requestID,
           EntityID agentID,
           java.util.Collection<? extends Entity> allEntities,
           Config config)A populated KAConnectOK message. | 
| Modifier and Type | Method and Description | 
|---|---|
| EntityID | getAgentID()Get the ID of the agent-controlled object. | 
| Config | getConfig()Get the Config. | 
| java.util.Collection<Entity> | getEntities()Get the entity list. | 
| int | getRequestID()Get the requestID for this message. | 
addMessageComponent, getComponents, getURN, read, toString, writepublic KAConnectOK(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 KAConnectOK(int requestID,
                   EntityID agentID,
                   java.util.Collection<? extends Entity> allEntities,
                   Config config)
requestID - The request ID.agentID - The ID of the Entity that the agent will be controlling.allEntities - All Entities that the agent knows about, including the controlled object.config - The Config that the agent knows about.public int getRequestID()
public EntityID getAgentID()
public java.util.Collection<Entity> getEntities()
public Config getConfig()