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.
|
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 |
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.
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
Copyright © 2000 Sun Microsystems, Inc.