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

jain.protocol.ip.mgcp.message
Class DeleteConnectionResponse

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

public final class DeleteConnectionResponse
extends JainMgcpResponseEvent

The acknowledgment to an MGCP DeleteConnection command.

See Also:
DeleteConnection, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DeleteConnectionResponse(java.lang.Object source, ReturnCode returnCode)
          Constructs a new DeleteConnectionResponse Event object that corresponds to a DeleteConnection command issued by a VOIP Gateway or to a DeleteConnection command issued by a Call Agent that deletes multiple connections.

DeleteConnectionResponse(java.lang.Object source, ReturnCode returnCode, ConnectionParm[] connectionParms)
          Constructs a new DeleteConnectionResponse Event object that corresponds to a DeleteConnection command issued by a Call Agent to delete a single specific connection related to a single endpoint.

 
Method Summary
 ConnectionParm[] getConnectionParms()
          Gets the Connection Parameters.

 void setConnectionParms(ConnectionParm[] connectionParms)
          Sets the Connection Parameters.

 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

DeleteConnectionResponse

public DeleteConnectionResponse(java.lang.Object source,
                                ReturnCode returnCode)
                         throws java.lang.IllegalArgumentException
Constructs a new DeleteConnectionResponse Event object that corresponds to a DeleteConnection command issued by a VOIP Gateway or to a DeleteConnection command issued by a Call Agent that deletes multiple connections.

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

DeleteConnectionResponse

public DeleteConnectionResponse(java.lang.Object source,
                                ReturnCode returnCode,
                                ConnectionParm[] connectionParms)
                         throws java.lang.IllegalArgumentException
Constructs a new DeleteConnectionResponse Event object that corresponds to a DeleteConnection command issued by a Call Agent to delete a single specific connection related to a single endpoint.

Parameters:
returnCode - The return code.
connectionParms - A list of parameters that describe the status of the connection.
Throws:
java.lang.IllegalArgumentException - Thrown if the return code or the list of connection parameters (or any of the entries in that list) is null-valued.
Method Detail

getConnectionParms

public ConnectionParm[] getConnectionParms()
Gets the Connection Parameters.

Returns:
The list of parameters that describe the status of the connection.

setConnectionParms

public void setConnectionParms(ConnectionParm[] connectionParms)
                        throws java.lang.IllegalArgumentException
Sets the Connection Parameters.

Parameters:
connectionParms - A list of parameters that describe the status of the connection.
Throws:
java.lang.IllegalArgumentException - Thrown if the list of connection parameters, or any entry in that list, is null-valued.

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.