org.mobicents.mgcp.stack
Class DeleteConnectionHandler
java.lang.Object
org.mobicents.mgcp.stack.TransactionHandler
org.mobicents.mgcp.stack.DeleteConnectionHandler
- All Implemented Interfaces:
- java.lang.Runnable, TransactionHandlerManagement
public class DeleteConnectionHandler
- extends TransactionHandler
- Author:
- Oleg Kulikov, Pavel Mitrenko
| Fields inherited from class org.mobicents.mgcp.stack.TransactionHandler |
actionToPerform, commandEvent, endpointHandler, LONGTRAN_TIMER_TIMEOUT, MGCP_VERSION, NEW_LINE, remoteTID, responseEvent, retransmision, sent, SINGLE_CHAR_SPACE, source, stack, THIST_TIMER_TIMEOUT, transactionHandlerTimer, utils |
|
Method Summary |
jain.protocol.ip.mgcp.JainMgcpCommandEvent |
decodeCommand(java.lang.String message)
Decodes MGCP command message into jain mgcp command event object. |
jain.protocol.ip.mgcp.JainMgcpResponseEvent |
decodeResponse(java.lang.String message)
Decodes MGCP response message into jain mgcp response event object. |
java.lang.String |
encode(jain.protocol.ip.mgcp.JainMgcpCommandEvent event)
Encodes command event object into MGCP command message. |
java.lang.String |
encode(jain.protocol.ip.mgcp.JainMgcpResponseEvent event)
Encodes response event object into MGCP response message. |
jain.protocol.ip.mgcp.JainMgcpResponseEvent |
getProvisionalResponse()
|
| Methods inherited from class org.mobicents.mgcp.stack.TransactionHandler |
clearEndpointHandler, getEndpointHandler, getEndpointId, getLocalTID, getObjectSource, getRemoteTID, isCommand, markRetransmision, receiveRequest, receiveResponse, release, run, sendProvisionalResponse, setCommand, setCommandEvent, setEndpointHandler, setResponseEvent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteConnectionHandler
public DeleteConnectionHandler(JainMgcpStackImpl stack)
- Creates a new instance of CreateConnectionHandle
DeleteConnectionHandler
public DeleteConnectionHandler(JainMgcpStackImpl stack,
java.net.InetAddress address,
int port)
decodeCommand
public jain.protocol.ip.mgcp.JainMgcpCommandEvent decodeCommand(java.lang.String message)
throws java.text.ParseException
- Description copied from class:
TransactionHandler
- Decodes MGCP command message into jain mgcp command event object.
All descendant classes should implement this method with accordance of
the command type.
- Specified by:
decodeCommand in class TransactionHandler
- Returns:
- jain mgcp command event object.
- Throws:
java.text.ParseException
decodeResponse
public jain.protocol.ip.mgcp.JainMgcpResponseEvent decodeResponse(java.lang.String message)
throws java.text.ParseException
- Description copied from class:
TransactionHandler
- Decodes MGCP response message into jain mgcp response event object.
All descendant classes should implement this method with accordance of
the command type.
- Specified by:
decodeResponse in class TransactionHandler
- Returns:
- jain mgcp response event object.
- Throws:
java.text.ParseException
encode
public java.lang.String encode(jain.protocol.ip.mgcp.JainMgcpCommandEvent event)
- Description copied from class:
TransactionHandler
- Encodes command event object into MGCP command message.
All descendant classes should implement this method with accordance of
the command type.
- Specified by:
encode in class TransactionHandler
- Parameters:
event - the command event object.
- Returns:
- the encoded MGCP message.
encode
public java.lang.String encode(jain.protocol.ip.mgcp.JainMgcpResponseEvent event)
- Description copied from class:
TransactionHandler
- Encodes response event object into MGCP response message.
All descendant classes should implement this method with accordance of
the response type.
- Specified by:
encode in class TransactionHandler
- Parameters:
event - the response event object.
- Returns:
- the encoded MGCP message.
getProvisionalResponse
public jain.protocol.ip.mgcp.JainMgcpResponseEvent getProvisionalResponse()
- Specified by:
getProvisionalResponse in class TransactionHandler
Copyright © 2009. All Rights Reserved.