|
|||||||
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.SocketCommInfo
The configuration data for setting up a socket based agent.
Field Summary | |
static java.lang.String |
DEFAULT_KQMLCONVERTER_CLASS
The default class for KqmlConverter. |
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 | |
SocketCommInfo()
DO NOT USE. |
|
SocketCommInfo(int port)
A full body construct that takes all of the data elements in its constructor. |
|
SocketCommInfo(int port,
java.lang.String kqmlConverterClass)
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. |
java.lang.String |
getKqmlConverter()
Description : |
int |
getPort()
Get the port the registry is using. |
void |
setIsSupported(boolean isSupported)
Sets the isSupported field for the agent's commType. |
void |
setKqmlConverter(java.lang.String newClass)
Description : |
void |
setPort(int port)
Sets the rmiregistry port. |
java.lang.String |
toBNFString()
Encodes the SocketCommInfo 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 |
Field Detail |
public static final java.lang.String DEFAULT_KQMLCONVERTER_CLASS
Constructor Detail |
public SocketCommInfo()
public SocketCommInfo(int port)
int
- The port to initialize the Socket withpublic SocketCommInfo(int port, java.lang.String kqmlConverterClass)
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 void setKqmlConverter(java.lang.String newClass)
- public java.lang.String getKqmlConverter()
- 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 |