org.mobicents.mgcp.stack.parser
Interface MgcpContentHandler


public interface MgcpContentHandler

Receive notification of the logical content of a message.

Author:
Oleg Kulikov, Pavel Mitrenko

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

Method Detail

header

void header(java.lang.String header)
            throws java.text.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:
java.text.ParseException

param

void param(java.lang.String name,
           java.lang.String value)
           throws java.text.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:
java.text.ParseException

sessionDescription

void sessionDescription(java.lang.String sd)
                        throws java.text.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:
java.text.ParseException


Copyright © 2008. All Rights Reserved.