org.mobicents.protocols.mgcp.parser
Interface MgcpContentHandler

All Known Implementing Classes:
DeleteConnectionHandler.CommandContentHandle

public interface MgcpContentHandler

Receive notification of the logical content of a message.

Author:
Oleg Kulikov, Pavel Mitrenko

Method Summary
 void header(String header)
          Receive notification of the header of a message.
 void param(String name, String value)
          Receive notification of the parameter of a message.
 void sessionDescription(String sd)
          Receive notification of the session description.
 

Method Detail

header

void header(String header)
            throws ParseException
Receive notification of the header of a message. Parser will call this method to report about header reading.

Parameters:
header - the header from the message.
Throws:
ParseException

param

void param(String name,
           String 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 paremeter
value - the value of the parameter.
Throws:
ParseException

sessionDescription

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


Copyright © 2012 TeleStax, Inc.. All Rights Reserved.