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

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

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

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

Specifies a packetization period.

See Also:
Serialized Form

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
 
Constructor Summary
PacketizationPeriod(int value)
          Constructs a new packetization period in which the upper and lower bounds are the same value.
PacketizationPeriod(int lower, int upper)
          Constructs a new packetization period in which the upper and lower bounds are distinct values.
 
Method Summary
 int getPacketizationPeriodLowerBound()
          Gets the lower bound of the packetization period.
 int getPacketizationPeriodUpperBound()
          Gets the upper bound of the packetization period.
 java.lang.String toString()
          Returns a String of the form "p:<lowerBound>[-<upperBound>]".
 
Methods inherited from class jain.protocol.ip.mgcp.message.parms.LocalOptionValue
getBandwidthLowerBound, getBandwidthUpperBound, getCompressionAlgorithmNames, getEchoCancellation, getEncryptionMethod, getGainControl, getLocalOptionExtensionName, getLocalOptionValueType, getResourceReservation, getSilenceSuppression, getTypeOfNetwork, getTypeOfService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PacketizationPeriod

public PacketizationPeriod(int value)
Constructs a new packetization period in which the upper and lower bounds are the same value.

PacketizationPeriod

public PacketizationPeriod(int lower,
                           int upper)
Constructs a new packetization period in which the upper and lower bounds are distinct values.
Method Detail

getPacketizationPeriodLowerBound

public int getPacketizationPeriodLowerBound()
Gets the lower bound of the packetization period.
Overrides:
getPacketizationPeriodLowerBound in class LocalOptionValue
Returns:
The lower bound of the packetization period.

getPacketizationPeriodUpperBound

public int getPacketizationPeriodUpperBound()
Gets the upper bound of the packetization period.
Overrides:
getPacketizationPeriodUpperBound in class LocalOptionValue
Returns:
The upper bound of the packetization period.

toString

public java.lang.String toString()
Returns a String of the form "p:<lowerBound>[-<upperBound>]".
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.