mx4j.tools.naming
Interface CosNamingServiceMBean

All Known Implementing Classes:
CosNamingService

public interface CosNamingServiceMBean

MBean interface.

Version:
$Revision: 1.6 $
Author:
Simone Bordet

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

setPort

public void setPort(int port)
Sets the port on which tnameserv listens for incoming connections.

See Also:
getPort()

getPort

public int getPort()
Returns the port on which tnameserv listens for incoming connections

See Also:
setPort(int)

isRunning

public boolean isRunning()
Returns whether this MBean has been started and not yet stopped.

See Also:
start()

setDelay

public void setDelay(long delay)
Sets the delay (in milliseconds) that the start() and stop() methods waits before returning. This is needed to allow the tnameserv process to really start and stop.

See Also:
getDelay()

getDelay

public long getDelay()
Returns the delay (in milliseconds) that the start() and stop() methods waits before returning.

See Also:
setDelay(long)

start

public void start()
Starts this MBean: tnameserv can now accept incoming calls

See Also:
stop(), isRunning()

stop

public void stop()
Stops this MBean: tnameserv cannot accept anymore incoming calls

See Also:
start()


Copyright © 2001-2002 MX4J Team. All Rights Reserved.