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

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

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

public class SupportedModes
extends CapabilityValue
implements java.io.Serializable

This class represents an endpoint capability expressed as a list of supported connection modes.

See Also:
Serialized Form

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

Constructor Detail

SupportedModes

public SupportedModes(ConnectionMode[] supportedModes)
Method Detail

getSupportedModes

public ConnectionMode[] getSupportedModes()
Returns the list of supported connection modes that is encapsulated by this CapabilityValue object.
Overrides:
getSupportedModes 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 connection modes.

toString

public java.lang.String toString()
Returns a String of the form "m:<supportedModes>" where <supportedModes> is a comma-separated list of supported connection modes.
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.