com.pkrete.jsip2.parser
Class SIP2HoldResponseParser

java.lang.Object
  extended by com.pkrete.jsip2.parser.SIP2ResponseParser
      extended by com.pkrete.jsip2.parser.SIP2HoldResponseParser

public class SIP2HoldResponseParser
extends SIP2ResponseParser

This class parses the data received from the ILS SIP server and generates SIP2HoldResponse objects.

Author:
Petteri Kivimäki

Constructor Summary
SIP2HoldResponseParser()
           
 
Method Summary
 SIP2HoldResponse parse(String data)
          Parses a new SIP2HoldResponse from the given data.
 
Methods inherited from class com.pkrete.jsip2.parser.SIP2ResponseParser
charEmptyToBool, charToBool, exists, existsAndNotEmpty, intToBool, parseChecksum, parseSequence, parseVariable, parseVariable, parseVariableMulti, parseVariableWithoutDelimiter, parseVariableWithoutDelimiter, stringToInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIP2HoldResponseParser

public SIP2HoldResponseParser()
Method Detail

parse

public SIP2HoldResponse parse(String data)
                       throws InvalidSIP2ResponseValueException,
                              InvalidSIP2ResponseException
Parses a new SIP2HoldResponse from the given data.

Specified by:
parse in class SIP2ResponseParser
Parameters:
data - message response data
Returns:
SIP2HoldResponse object parsed from the data
Throws:
InvalidSIP2ResponseValueException
InvalidSIP2ResponseException


Copyright © 2012-2014. All Rights Reserved.