javax.management.remote.message
Class CloseMessage

java.lang.Object
  extended byjavax.management.remote.message.CloseMessage
All Implemented Interfaces:
Message, Serializable

public class CloseMessage
extends Object
implements Message

This class is used to inform a remote side of local closing.

See Also:
Serialized Form

Constructor Summary
CloseMessage()
          Constructs a CloseMessage with null message.
CloseMessage(String msg)
          Constructs a CloseMessage with a user specific message.
 
Method Summary
 String getMessage()
          Returns a message explaining why the connection was closed by the remote side.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseMessage

public CloseMessage()
Constructs a CloseMessage with null message.


CloseMessage

public CloseMessage(String msg)
Constructs a CloseMessage with a user specific message.

Parameters:
msg - a user specific message explaining why the connection was closed by the remote side
Method Detail

getMessage

public String getMessage()
Returns a message explaining why the connection was closed by the remote side.

Returns:
a message explaining why the connection was closed by the remote side.

JMX Remote API Specification 1.0 Final Release
Generated from RI build jmxremote-1_0_1_03-b57.1 2005.02.08_17:20:23_MET

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.