com.pkrete.jsip2.parser
Class SIP2EndSessionResponseParser

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

public class SIP2EndSessionResponseParser
extends SIP2ResponseParser

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

Author:
Petteri Kivimäki

Constructor Summary
SIP2EndSessionResponseParser()
           
 
Method Summary
 SIP2EndSessionResponse parse(String data)
          Parses a new SIP2EndSessionResponse 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

SIP2EndSessionResponseParser

public SIP2EndSessionResponseParser()
Method Detail

parse

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

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


Copyright © 2012-2014. All Rights Reserved.