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

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

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

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

Defines the various connection modes in which an endpoint can operates.

See Also:
Serialized Form

Field Summary
static ConnectionMode Confrnce
          A ConnectionMode object that encapsulates the CONFRNCE constant and the string equivalent, "confrnce."
static int CONFRNCE
          Signifies a "confrnce" connection mode.
static ConnectionMode Conttest
          A ConnectionMode object that encapsulates the CONTTEST constant and the string equivalent, "conttest."
static int CONTTEST
          Signifies a "conttest" connection mode.
static ConnectionMode Data
          A ConnectionMode object that encapsulates the DATA constant and the string equivalent, "data."
static int DATA
          Signifies a "data" connection mode.
static ConnectionMode Inactive
          A ConnectionMode object that encapsulates the INACTIVE constant and the string equivalent, "inactive."
static int INACTIVE
          Signifies an "inactive" connection mode.
static ConnectionMode Loopback
          A ConnectionMode object that encapsulates the LOOPBACK constant and the string equivalent, "loopback."
static int LOOPBACK
          Signifies a "loopback" connection mode.
static ConnectionMode Netwloop
          A ConnectionMode object that encapsulates the NETWLOOP constant and the string equivalent, "netwloop."
static int NETWLOOP
          Signifies a "netwloop" connection mode.
static ConnectionMode Netwtest
          A ConnectionMode object that encapsulates the NETWTEST constant and the string equivalent, "netwtest."
static int NETWTEST
          Signifies a "netwtest" connection mode.
static ConnectionMode RecvOnly
          A ConnectionMode object that encapsulates the RECVONLY constant and the string equivalent, "recvonly."
static int RECVONLY
          Signifies a "recvonly" connection mode.
static ConnectionMode SendOnly
          A ConnectionMode object that encapsulates the SENDONLY constant and the string equivalent, "sendonly."
static int SENDONLY
          Signifies a "sendonly" connection mode.
static ConnectionMode SendRecv
          A ConnectionMode object that encapsulates the SENDRECV constant and the string equivalent, "sendrecv."
static int SENDRECV
          Signifies a "sendrecv" connection mode.
 
Method Summary
 int getConnectionModeValue()
          Gets the integer value associated with this Connection Mode.
 java.lang.String toString()
          Returns the String representation of this Connection Mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Confrnce

public static final ConnectionMode Confrnce
A ConnectionMode object that encapsulates the CONFRNCE constant and the string equivalent, "confrnce."

CONFRNCE

public static final int CONFRNCE
Signifies a "confrnce" connection mode.

Conttest

public static final ConnectionMode Conttest
A ConnectionMode object that encapsulates the CONTTEST constant and the string equivalent, "conttest."

CONTTEST

public static final int CONTTEST
Signifies a "conttest" connection mode.

Data

public static final ConnectionMode Data
A ConnectionMode object that encapsulates the DATA constant and the string equivalent, "data."

DATA

public static final int DATA
Signifies a "data" connection mode.

Inactive

public static final ConnectionMode Inactive
A ConnectionMode object that encapsulates the INACTIVE constant and the string equivalent, "inactive."

INACTIVE

public static final int INACTIVE
Signifies an "inactive" connection mode.

Loopback

public static final ConnectionMode Loopback
A ConnectionMode object that encapsulates the LOOPBACK constant and the string equivalent, "loopback."

LOOPBACK

public static final int LOOPBACK
Signifies a "loopback" connection mode.

Netwloop

public static final ConnectionMode Netwloop
A ConnectionMode object that encapsulates the NETWLOOP constant and the string equivalent, "netwloop."

NETWLOOP

public static final int NETWLOOP
Signifies a "netwloop" connection mode.

Netwtest

public static final ConnectionMode Netwtest
A ConnectionMode object that encapsulates the NETWTEST constant and the string equivalent, "netwtest."

NETWTEST

public static final int NETWTEST
Signifies a "netwtest" connection mode.

RecvOnly

public static final ConnectionMode RecvOnly
A ConnectionMode object that encapsulates the RECVONLY constant and the string equivalent, "recvonly."

RECVONLY

public static final int RECVONLY
Signifies a "recvonly" connection mode.

SendOnly

public static final ConnectionMode SendOnly
A ConnectionMode object that encapsulates the SENDONLY constant and the string equivalent, "sendonly."

SENDONLY

public static final int SENDONLY
Signifies a "sendonly" connection mode.

SendRecv

public static final ConnectionMode SendRecv
A ConnectionMode object that encapsulates the SENDRECV constant and the string equivalent, "sendrecv."

SENDRECV

public static final int SENDRECV
Signifies a "sendrecv" connection mode.
Method Detail

getConnectionModeValue

public int getConnectionModeValue()
Gets the integer value associated with this Connection Mode.
Returns:
One of the predefined Connection Mode constants.

toString

public java.lang.String toString()
Returns the String representation of this Connection Mode.
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.