|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.wilko.jaim.TocResponse | +--com.wilko.jaim.GenericTocResponse
A GenericTocResponse is used internally in the Response parsing and processing logic of JaimConnection
Field Summary |
Fields inherited from class com.wilko.jaim.TocResponse |
cmd |
Constructor Summary | |
GenericTocResponse()
Creates new GenericTocCommand |
Method Summary | |
boolean |
canHandle(java.lang.String Response)
Returns true if this response handler can handle the specified response. |
byte[] |
getBytes()
Get a byte array that contains the response |
java.lang.String |
getResponseType()
Used in the response dispatching process |
TocResponse |
parseString(java.lang.String str)
Parse an incoming string |
java.lang.String |
toString()
Convert this response to a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GenericTocResponse()
Method Detail |
public TocResponse parseString(java.lang.String str)
parseString
in interface TocResponseHandler
str
- The response string to be parsed
public byte[] getBytes()
public java.lang.String toString()
toString
in class TocResponse
public java.lang.String getResponseType()
getResponseType
in class TocResponse
public boolean canHandle(java.lang.String Response)
canHandle
in interface TocResponseHandler
Response
- - the response string from TOC. This is the part of the response before the first ':'
|
jaimlib.sourceforge.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |