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

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

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

public final class TypeOfNetwork
extends LocalOptionValue
implements java.io.Serializable

Specifies the type of network: IN, ATM, or LOCAL.

See Also:
Serialized Form

Field Summary
static TypeOfNetwork Atm
          Encapsulates the ATM network type.
static int ATM
          Signifies network type = ATM.
static TypeOfNetwork In
          Encapsulates the IN network type.
static int IN
          Signifies network type = IN.
static TypeOfNetwork Local
          Encapsulates the LOCAL network type.
static int LOCAL
          Signifies network type = LOCAL.
 
Fields inherited from class jain.protocol.ip.mgcp.message.parms.LocalOptionValue
BANDWIDTH, COMPRESSION_ALGORITHM, ECHO_CANCELLATION, ENCRYPTION_METHOD, GAIN_CONTROL, LOCAL_OPTION_EXTENSION, PACKETIZATION_PERIOD, RESOURCE_RESERVATION, SILENCE_SUPPRESSION, TYPE_OF_NETWORK, TYPE_OF_SERVICE
 
Method Summary
 int getTypeOfNetwork()
          Gets the value of this TypeOfNetwork object as an integer constant.
 java.lang.String toString()
          Gets the value of this TypeOfNetwork object as a string: "nt:IN;" "nt:ATM;" or "nt:LOCAL".
 
Methods inherited from class jain.protocol.ip.mgcp.message.parms.LocalOptionValue
getBandwidthLowerBound, getBandwidthUpperBound, getCompressionAlgorithmNames, getEchoCancellation, getEncryptionMethod, getGainControl, getLocalOptionExtensionName, getLocalOptionValueType, getPacketizationPeriodLowerBound, getPacketizationPeriodUpperBound, getResourceReservation, getSilenceSuppression, getTypeOfService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Atm

public static final TypeOfNetwork Atm
Encapsulates the ATM network type.

ATM

public static final int ATM
Signifies network type = ATM.

In

public static final TypeOfNetwork In
Encapsulates the IN network type.

IN

public static final int IN
Signifies network type = IN.

Local

public static final TypeOfNetwork Local
Encapsulates the LOCAL network type.

LOCAL

public static final int LOCAL
Signifies network type = LOCAL.
Method Detail

getTypeOfNetwork

public int getTypeOfNetwork()
Gets the value of this TypeOfNetwork object as an integer constant.
Overrides:
getTypeOfNetwork in class LocalOptionValue
Following copied from class: jain.protocol.ip.mgcp.message.parms.LocalOptionValue
Returns:
The type of network (as an integer value: IN, ATM, LOCAL).
Throws:
JainIPMgcpException - Thrown if this object does not represent type of network.

toString

public java.lang.String toString()
Gets the value of this TypeOfNetwork object as a string: "nt:IN;" "nt:ATM;" or "nt:LOCAL".
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.