com.wilko.jaim
Class SignOnTocResponse

java.lang.Object
  |
  +--com.wilko.jaim.TocResponse
        |
        +--com.wilko.jaim.SignOnTocResponse
All Implemented Interfaces:
TocResponseHandler

public class SignOnTocResponse
extends TocResponse
implements TocResponseHandler

The SignOnTocResponse is used internally to manage the TOC signon process. It is not delivered to clients of JaimConnection

Version:
$Revision: 1.5 $
Author:
paulw

Field Summary
static java.lang.String RESPONSE_TYPE
           
 
Fields inherited from class com.wilko.jaim.TocResponse
cmd
 
Constructor Summary
SignOnTocResponse()
          Creates new SignOnTocResponse
 
Method Summary
 boolean canHandle(java.lang.String Response)
          Returns true if this response handler can handle the specified response.
 java.lang.String getResponseType()
           
protected  java.lang.String getVersion()
           
 TocResponse parseString(java.lang.String str)
          Parse the provided response
 
Methods inherited from class com.wilko.jaim.TocResponse
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESPONSE_TYPE

public static final java.lang.String RESPONSE_TYPE
See Also:
Constant Field Values
Constructor Detail

SignOnTocResponse

public SignOnTocResponse()
Creates new SignOnTocResponse

Method Detail

getResponseType

public java.lang.String getResponseType()
Specified by:
getResponseType in class TocResponse

getVersion

protected java.lang.String getVersion()

parseString

public TocResponse parseString(java.lang.String str)
Description copied from interface: TocResponseHandler
Parse the provided response

Specified by:
parseString in interface TocResponseHandler
Parameters:
str - - the response from the TOC server. This is the full TOC response string
Returns:
- A TocResponse object that represents this response

canHandle

public boolean canHandle(java.lang.String Response)
Returns true if this response handler can handle the specified response.

Specified by:
canHandle in interface TocResponseHandler
Parameters:
Response - - the response string from TOC. This is the part of the response before the first ':'
Returns:
true if the response can be handled

jaimlib.sourceforge.net