|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Method Summary | |
long |
getDelay()
Returns the delay (in milliseconds) that the start() and stop() methods waits before returning. |
int |
getPort()
Returns the port on which tnameserv listens for incoming connections |
boolean |
isRunning()
Returns whether this MBean has been started and not yet stopped. |
void |
setDelay(long delay)
Sets the delay (in milliseconds) that the start() and stop() methods waits before returning. |
void |
setPort(int port)
Sets the port on which tnameserv listens for incoming connections. |
void |
start()
Starts this MBean: tnameserv can now accept incoming calls |
void |
stop()
Stops this MBean: tnameserv cannot accept anymore incoming calls |
Method Detail |
public void setPort(int port)
getPort()
public int getPort()
setPort(int)
public boolean isRunning()
start()
public void setDelay(long delay)
start()
and stop()
methods waits before returning. This is needed to allow the tnameserv process to really start and stop.
getDelay()
public long getDelay()
start()
and stop()
methods waits before returning.
setDelay(long)
public void start()
stop()
,
isRunning()
public void stop()
start()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |