kaos.core
Interface KAoSLocator

All Known Implementing Classes:
CorbaLocator, CougaarLocator, DefaultKAoSLocator, KAoSGridLocator, TCPLocator

public interface KAoSLocator

Defines the operations to set and get the type of transport the locator is associated with.


Field Summary
static java.lang.String NAME_KEY
           
 
Method Summary
 java.lang.String getTransportName()
           
 java.lang.String getTransportType()
           
 void setTransportName(java.lang.String name)
          Set the name of the transport name this locator is associated with.
 void setTransportType(java.lang.String type)
          Set the name of the transport type this locator is associated with.
 

Field Detail

NAME_KEY

static final java.lang.String NAME_KEY
See Also:
Constant Field Values
Method Detail

getTransportType

java.lang.String getTransportType()
Returns:
String representing the type of transport the locator describes.

setTransportType

void setTransportType(java.lang.String type)
Set the name of the transport type this locator is associated with.

Parameters:
name - The type of transport this locator describes.

getTransportName

java.lang.String getTransportName()
Returns:
String representing the name of transport the locator describes. This name is used within KAoS and it is defined by transport constants in KAoSBootstrapper.

setTransportName

void setTransportName(java.lang.String name)
Set the name of the transport name this locator is associated with. This name is used within KAoS and it is defined by transport constants in KAoSBootstrapper.

Parameters:
name - The type of transport this locator describes.