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

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

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

public class SupportedPackages
extends CapabilityValue
implements java.io.Serializable

This class represents an endpoint capability expressed as a list of supported MGCP event/signal packages.

See Also:
Serialized Form

Fields inherited from class jain.protocol.ip.mgcp.message.parms.CapabilityValue
LOCAL_OPTION_VALUE, SUPPORTED_MODES, SUPPORTED_PACKAGES
 
Constructor Summary
SupportedPackages(PackageName[] supportedPackageNames)
           
 
Method Summary
 PackageName[] getSupportedPackageNames()
          Returns the list of supported package names that is encapsulated by this CapabilityValue object.
 java.lang.String toString()
          Returns a String of the form "v:<supportedPackageNames>" where <supportedPackageNames> is a comma-separated list of supported package names.
 
Methods inherited from class jain.protocol.ip.mgcp.message.parms.CapabilityValue
getCapabilityValueType, getLocalOptionValue, getSupportedModes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SupportedPackages

public SupportedPackages(PackageName[] supportedPackageNames)
Method Detail

getSupportedPackageNames

public PackageName[] getSupportedPackageNames()
Returns the list of supported package names that is encapsulated by this CapabilityValue object.
Overrides:
getSupportedPackageNames in class CapabilityValue
Following copied from class: jain.protocol.ip.mgcp.message.parms.CapabilityValue
Throws:
java.lang.NoSuchFieldException - Thrown if this CapabilityValue object does not represent a list of supported packages.

toString

public java.lang.String toString()
Returns a String of the form "v:<supportedPackageNames>" where <supportedPackageNames> is a comma-separated list of supported package names.
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.