org.mobicents.protocols.mgcp.handlers
Class MgcpContentHandler
java.lang.Object
org.mobicents.protocols.mgcp.handlers.MgcpContentHandler
- Direct Known Subclasses:
- DeleteConnectionHandler.CommandContentHandle
public abstract class MgcpContentHandler
- extends Object
Receive notification of the logical content of a message.
- Author:
- Oleg Kulikov, Pavel Mitrenko, Yulian Oifa
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MgcpContentHandler
public MgcpContentHandler()
param
public abstract void param(byte[] data,
SplitDetails name,
SplitDetails value)
throws ParseException
- Receive notification of the parameter of a message.
Parser will call this method to report about parameter reading.
- Parameters:
name - the name of the paremetervalue - the value of the parameter.
- Throws:
ParseException
sessionDescription
public abstract void sessionDescription(String sd)
throws ParseException
- Receive notification of the session description.
Parser will call this method to report about session descriptor reading.
- Parameters:
sd - the session description from message.
- Throws:
ParseException
parse
public void parse(byte[] data,
SplitDetails[] message)
throws IOException,
ParseException
- Throws:
IOException
ParseException
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.