org.objectweb.carol.jndi.ns
Interface NameService
- CmiRegistry, IIOPCosNaming, JacORBCosNaming, JeremieRegistry, JRMPRegistry, LmiRegistry, OpenOrbCosNaming
public interface NameService
Interface NameService
is the CAROL Name Service generic
interface. This is the carol SPI for a Name Service
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
int | getPort() - get port method, get the port for the name service
|
boolean | isStarted() - isStarted Method, check if a name service is started
|
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
|
getPort
public int getPort()
get port method, get the port for the name service
- int port number
isStarted
public boolean isStarted()
isStarted Method, check if a name service is started
- boolean true if the name service is started
setPort
public void setPort(int p)
set port method, set the port for the name service