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

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

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

public class ExtendedConnectionParm
extends ConnectionParm
implements java.io.Serializable

Class that defines an extended connection parameter. A connection parameter describes the status of a connection. Returned by Gateway when a connection is deleted.

See Also:
Serialized Form

Field Summary
static int EXTENSION
          Signifies that this ConnectionParm object represents an extension parameter.
 
Constructor Summary
ExtendedConnectionParm(java.lang.String connectionParmExtensionName, int connectionParmValue)
          Constructs a new ConnectionParm object that is an extension parameter.
 
Method Summary
 java.lang.String getConnectionParmExtensionName()
          Gets the name of the connection parameter extension.
 java.lang.String toString()
          Returns a String of the form "=."
 
Methods inherited from class jain.protocol.ip.mgcp.message.parms.ConnectionParm
getConnectionParmType, getConnectionParmValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXTENSION

public static int EXTENSION
Signifies that this ConnectionParm object represents an extension parameter.
Constructor Detail

ExtendedConnectionParm

public ExtendedConnectionParm(java.lang.String connectionParmExtensionName,
                              int connectionParmValue)
                       throws java.lang.IllegalArgumentException
Constructs a new ConnectionParm object that is an extension parameter.
Parameters:
connectionParmExtensionName - A two-character String that is the name of this connection parameter extension.
connectionParmValue - The integer value of the connection parameter. Must be in the range 0-999999999.
Throws:
java.lang.IllegalArgumentException - Thrown if the connection paramter name is not a String of length exactly two or if the connection parameter value is outside the range 0-999999999.
Method Detail

getConnectionParmExtensionName

public java.lang.String getConnectionParmExtensionName()
Gets the name of the connection parameter extension.
Returns:
The name of the extension parameter, or null, if this is not an extension parameter.

toString

public java.lang.String toString()
Returns a String of the form "=."
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.