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

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

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

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

Specifies a list of algorithm names.

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
CompressionAlgorithm(java.lang.String[] algorithmNames)
          Constructs a new list of algorithm names.
 
Method Summary
 java.lang.String[] getCompressionAlgorithmNames()
          Gets the list of algorithm names.
 java.lang.String toString()
          Builds a comma-delimited list of compression algorithm names, prepended by the string "a:" and terminated by a newline character ("\n").
 
Methods inherited from class jain.protocol.ip.mgcp.message.parms.LocalOptionValue
getBandwidthLowerBound, getBandwidthUpperBound, getEchoCancellation, getEncryptionMethod, getGainControl, getLocalOptionExtensionName, getLocalOptionValueType, getPacketizationPeriodLowerBound, getPacketizationPeriodUpperBound, getResourceReservation, getSilenceSuppression, getTypeOfNetwork, getTypeOfService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompressionAlgorithm

public CompressionAlgorithm(java.lang.String[] algorithmNames)
Constructs a new list of algorithm names.
Parameters:
algorithmNames - An array of String-valued algorithmNames.
Method Detail

getCompressionAlgorithmNames

public java.lang.String[] getCompressionAlgorithmNames()
Gets the list of algorithm names.
Overrides:
getCompressionAlgorithmNames in class LocalOptionValue
Returns:
The list of algorithm names.

toString

public java.lang.String toString()
Builds a comma-delimited list of compression algorithm names, prepended by the string "a:" and terminated by a newline character ("\n").
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.