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

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

See Also:
getPort()

getPort

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

See Also:
setPort(int)

isRunning

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

See Also:
start()

setDelay

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

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

See Also:
setDelay(long)

start

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

See Also:
stop(), isRunning()

stop

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

See Also:
start()


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