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

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

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

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

Specifies the type of service.

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
TypeOfService(byte typeOfService)
          Constructs a new Type of Service object, storing the type of service as a byte value.
 
Method Summary
 byte getTypeOfService()
          Gets the type of service.
 java.lang.String toString()
          Returns a string of the form "t:<typeOfService>" where <typeOfService> is a string of two hexadecimal digits.
 
Methods inherited from class jain.protocol.ip.mgcp.message.parms.LocalOptionValue
getBandwidthLowerBound, getBandwidthUpperBound, getCompressionAlgorithmNames, getEchoCancellation, getEncryptionMethod, getGainControl, getLocalOptionExtensionName, getLocalOptionValueType, getPacketizationPeriodLowerBound, getPacketizationPeriodUpperBound, getResourceReservation, getSilenceSuppression, getTypeOfNetwork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeOfService

public TypeOfService(byte typeOfService)
Constructs a new Type of Service object, storing the type of service as a byte value.
Method Detail

getTypeOfService

public byte getTypeOfService()
Gets the type of service.
Overrides:
getTypeOfService in class LocalOptionValue
Returns:
The type of service

toString

public java.lang.String toString()
Returns a string of the form "t:<typeOfService>" where <typeOfService> is a string of two hexadecimal digits.
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.