com.pkrete.jsip2.parser
Class SIP2LoginResponseParser

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

public class SIP2LoginResponseParser
extends SIP2ResponseParser

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

Author:
Petteri Kivimäki

Constructor Summary
SIP2LoginResponseParser()
           
 
Method Summary
 SIP2MessageResponse parse(String data)
          Parses a new SIP2LoginResponse 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

SIP2LoginResponseParser

public SIP2LoginResponseParser()
Method Detail

parse

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

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


Copyright © 2012-2014. All Rights Reserved.