|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface NameService
is the CAROL Name Service generic
interface. This is the carol SPI for a Name Service
Method Summary | |
java.lang.String |
getHost()
|
int |
getPort()
get port method, get the port for the name service |
boolean |
isStarted()
isStarted Method, check if a name service is started |
void |
setConfigProperties(java.util.Properties p)
Set the configuration properties of the protocol |
void |
setHost(java.lang.String host)
Set the address to use for bind |
void |
setPort(int p)
set port method, set the port for the name service |
void |
start()
start Method, Start a new NameService or do nothing if the name service is all ready start |
void |
stop()
stop Method, Stop a NameService or do nothing if the name service is all ready stop |
Method Detail |
public void start() throws NameServiceException
NameServiceException
- if a problem occurepublic void stop() throws NameServiceException
NameServiceException
- if a problem occurepublic boolean isStarted()
public void setPort(int p)
p
- port numberpublic int getPort()
public void setHost(java.lang.String host)
host
- hostname/ip addresspublic java.lang.String getHost()
public void setConfigProperties(java.util.Properties p)
p
- configuration properties
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |