JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000

jain.protocol.ip.mgcp.message.parms
Class RestartMethod

java.lang.Object
  |
  +--jain.protocol.ip.mgcp.message.parms.RestartMethod
All Implemented Interfaces:
java.io.Serializable

public final class RestartMethod
extends java.lang.Object
implements java.io.Serializable

Defines the Restart Method values for use in the RestartInProgress command.

See Also:
Serialized Form

Field Summary
static int CANCEL_GRACEFUL
          Signifies the "cancel-graceful" restart method.
static RestartMethod CancelGraceful
          Encapsulates the cancel-graceful restart method constant.
static RestartMethod Disconnected
          Encapsulates the disconnected restart method constant.
static int DISCONNECTED
          Signifies the "disconnected" restart method.
static RestartMethod Forced
          Encapsulates the forced restart method constant.
static int FORCED
          Signifies the "forced" restart method.
static RestartMethod Graceful
          Encapsulates the graceful restart method constant.
static int GRACEFUL
          Signifies the "graceful" restart method.
static RestartMethod Restart
          Encapsulates the restart restart method constant.
static int RESTART
          Signifies the "restart" restart method.
 
Method Summary
 int getRestartMethod()
          Get the integer constant that corresponds to this Restart Method.
 java.lang.String toString()
          Get the String that corresponds to the name of the Restart Method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CANCEL_GRACEFUL

public static final int CANCEL_GRACEFUL
Signifies the "cancel-graceful" restart method.

CancelGraceful

public static final RestartMethod CancelGraceful
Encapsulates the cancel-graceful restart method constant.

Disconnected

public static final RestartMethod Disconnected
Encapsulates the disconnected restart method constant.

DISCONNECTED

public static final int DISCONNECTED
Signifies the "disconnected" restart method.

Forced

public static final RestartMethod Forced
Encapsulates the forced restart method constant.

FORCED

public static final int FORCED
Signifies the "forced" restart method.

Graceful

public static final RestartMethod Graceful
Encapsulates the graceful restart method constant.

GRACEFUL

public static final int GRACEFUL
Signifies the "graceful" restart method.

Restart

public static final RestartMethod Restart
Encapsulates the restart restart method constant.

RESTART

public static final int RESTART
Signifies the "restart" restart method.
Method Detail

getRestartMethod

public int getRestartMethod()
Get the integer constant that corresponds to this Restart Method.
Returns:
One of the predefined constants that represent a Restart Method.

toString

public java.lang.String toString()
Get the String that corresponds to the name of the Restart Method.
Overrides:
toString in class java.lang.Object

JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000

Copyright © 2000 Sun Microsystems, Inc.