|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AcrLocator kaos.core.service.util.DefaultKAoSLocator kaos.core.service.transport.tcp.TCPLocator
public class TCPLocator
Defines the operations that can be invoked on a Locator containing agent's properties used in Cougaar communication to register/lookup agents in the Cougaar registry.
Field Summary | |
---|---|
static java.lang.String |
AGENT_HOST
|
static java.lang.String |
AGENT_NAME
|
static java.lang.String |
AGENT_PORT
|
static java.lang.String |
UADD
|
Fields inherited from interface kaos.core.KAoSLocator |
---|
NAME_KEY |
Constructor Summary | |
---|---|
TCPLocator()
|
Method Summary | |
---|---|
java.lang.String |
getHost()
|
java.lang.String |
getName()
Obtain the AGENT_NAME property of a TcpLocator. |
java.lang.String |
getPort()
Obtain the AGENT_PORT property. |
java.lang.String |
getUADD()
Obtain the UADD property used to uniquely identify a VoyagerLocator. |
void |
setHost(java.lang.String host)
Set the AGENT_HOST property to specify the host on which a tcp nameserver runs |
void |
setName(java.lang.String name)
Set the AGENT_NAME property used to bind a TcpLocator with a _TcpReceiverBaseImpl object. |
void |
setPort(java.lang.String port)
Set the AGENT_PORT property to specify the port on which to talk to a tcp nameserver |
void |
setUADD(java.lang.String uadd)
Set the UADD property used to uniquely identify a TcpLocator. |
java.lang.String |
toString()
Obtain the AGENT_HOST property. |
Methods inherited from class kaos.core.service.util.DefaultKAoSLocator |
---|
getTransportName, getTransportType, setTransportName, setTransportType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String UADD
public static final java.lang.String AGENT_NAME
public static final java.lang.String AGENT_HOST
public static final java.lang.String AGENT_PORT
Constructor Detail |
---|
public TCPLocator()
Method Detail |
---|
public void setUADD(java.lang.String uadd)
uadd
- the unique identifier for the agentpublic java.lang.String getUADD()
public void setName(java.lang.String name)
name
- the unique identifier for the agentpublic java.lang.String getName()
public void setHost(java.lang.String host)
host
- the host on which the name server for that locator runspublic java.lang.String toString()
public java.lang.String getHost()
public void setPort(java.lang.String port)
port
- the port on which the name server for that locator listenspublic java.lang.String getPort()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |