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

jain.protocol.ip.mgcp.message
Class ModifyConnectionResponse

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ip.mgcp.JainMgcpEvent
              |
              +--jain.protocol.ip.mgcp.JainMgcpResponseEvent
                    |
                    +--jain.protocol.ip.mgcp.message.ModifyConnectionResponse
All Implemented Interfaces:
java.io.Serializable

public final class ModifyConnectionResponse
extends JainMgcpResponseEvent

The acknowledgment to an MGCP ModifyConnection command.

See Also:
ModifyConnection, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ModifyConnectionResponse(java.lang.Object source, ReturnCode returnCode)
          Constructs a new ModifyConnectionResponse Event object.

 
Method Summary
 ConnectionDescriptor getLocalConnectionDescriptor()
          Gets the Local Connection Descriptor.

 void setLocalConnectionDescriptor(ConnectionDescriptor localConnectionDescriptor)
          Sets the Local Connection Descriptor string.

 java.lang.String toString()
          Overrides java.lang.Object.toString().
 
Methods inherited from class jain.protocol.ip.mgcp.JainMgcpResponseEvent
BuildResponseHeader, getReturnCode, setReturnCode
 
Methods inherited from class jain.protocol.ip.mgcp.JainMgcpEvent
BuildListParmLine, getObjectIdentifier, getTransactionHandle, setTransactionHandle
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyConnectionResponse

public ModifyConnectionResponse(java.lang.Object source,
                                ReturnCode returnCode)
                         throws java.lang.IllegalArgumentException
Constructs a new ModifyConnectionResponse Event object.

Parameters:
returnCode - The return code.
Throws:
java.lang.IllegalArgumentException - Thrown if the return code parameter is null-valued.
Method Detail

getLocalConnectionDescriptor

public ConnectionDescriptor getLocalConnectionDescriptor()
Gets the Local Connection Descriptor.

Returns:
The session description that contains information about the addresses and RTP ports used for the connection.

setLocalConnectionDescriptor

public void setLocalConnectionDescriptor(ConnectionDescriptor localConnectionDescriptor)
Sets the Local Connection Descriptor string.

Parameters:
localConnectionDescriptor - Optional parameter. A session description that contains information about the addresses and RTP ports used for the connection. Must be set to null, if not used.

toString

public java.lang.String toString()
Overrides java.lang.Object.toString().
Overrides:
toString in class java.util.EventObject

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

Copyright © 2000 Sun Microsystems, Inc.