|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.reticular.agentBuilder.agent.perception.CommInfo | +--com.reticular.agentBuilder.agent.perception.CorbaCommInfo
The configuration data for setting up a Corba based agent.
Fields inherited from class com.reticular.agentBuilder.agent.perception.CommInfo |
CORBA_COMM_TYPE, DEFAULT_CORBA_PORT, DEFAULT_ESPEAK_PORT, DEFAULT_RMI_PORT, DEFAULT_SOCKET_PORT, ESPEAK_COMM_TYPE, RMI_COMM_TYPE, SOCKET_COMM_TYPE |
Constructor Summary | |
CorbaCommInfo()
DO NOT USE. |
|
CorbaCommInfo(int port)
A full body construct that takes all of the data elements in its constructor. |
Method Summary | |
java.lang.Object |
clone()
Calls the super.clone() from lang.obj and catches the exceptions. |
boolean |
equals(java.lang.Object other)
Returns true if the input object is a SocketCommInfo object and if the _port values match. |
java.lang.String |
getCommType()
Get the comm type of this actual agent info object. |
boolean |
getIsSupported()
Indicates whether this agent will support this comm type. |
int |
getPort()
Get the port Corba is using. |
void |
setIsSupported(boolean isSupported)
Sets the isSupported field for the agent's commType. |
void |
setPort(int port)
Sets the Corba port. |
java.lang.String |
toBNFString()
Encodes the CorbaCommInfo object in a BNF compatible way. |
Methods inherited from class com.reticular.agentBuilder.agent.perception.CommInfo |
getRandomPort |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CorbaCommInfo()
public CorbaCommInfo(int port)
int
- The port to initialize the Socket withMethod Detail |
public boolean equals(java.lang.Object other)
equals
in class CommInfo
Object
- An instance of a subclass of CommInfopublic java.lang.String toBNFString()
toBNFString
in class CommInfo
public java.lang.String getCommType()
getCommType
in class CommInfo
public int getPort()
getPort
in class CommInfo
public void setPort(int port)
port
- The port number.public void setIsSupported(boolean isSupported)
boolean
- public boolean getIsSupported()
getIsSupported
in class CommInfo
boolean
- public java.lang.Object clone()
clone
in class CommInfo
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |