gov.nist.javax.sip.parser
Interface MessageParser
- All Known Implementing Classes:
- StringMsgParser
public interface MessageParser
Interface defining the contract for the stack to interact with the message parser to parse a byte array containing the SIP Message
into a SIPMessage object
- Author:
- jean.deruelle@gmail.com
parseSIPMessage
SIPMessage parseSIPMessage(byte[] msgBytes,
boolean readBody,
boolean strict,
ParseExceptionListener exhandler)
throws ParseException
- parse a byte array containing the SIP Message into a SIPMessage object
- Parameters:
msgBytes - the SIP Message received from the networkreadBody - If the content body should be read or notexhandler - Callback if an exception occurs during the parsing to notify back the stack
- Returns:
- a SIPMessage object that the stack can interact with
- Throws:
ParseException - if a parseexception occurs
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.