Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.wilko.jaim
Class IMTocResponse  view IMTocResponse download IMTocResponse.java

java.lang.Object
  extended bycom.wilko.jaim.TocResponse
      extended bycom.wilko.jaim.IMTocResponse
All Implemented Interfaces:
TocResponseHandler

public class IMTocResponse
extends TocResponse
implements TocResponseHandler

This response is delivered to a JaimEventListener when an instant message is received

Version:
$Revision: 1.6 $

Field Summary
(package private)  boolean autoResponse
           
(package private)  java.lang.String from
           
(package private)  java.lang.String msg
           
static java.lang.String RESPONSE_TYPE
           
 
Fields inherited from class com.wilko.jaim.TocResponse
cmd
 
Constructor Summary
IMTocResponse()
          Creates new TocIMResponse
 
Method Summary
 boolean canHandle(java.lang.String Response)
          Returns true if this response handler can handle the specified response.
private  void doParse(java.lang.String str)
           
 boolean getAutoResponse()
          Is this response an automatically generated response?
 java.lang.String getFrom()
          Obtain the name of the buddy who sent this instant message
 java.lang.String getMsg()
          Obtain the message
 java.lang.String getResponseType()
          Obtain the response type for response dispatching purposes
 TocResponse parseString(java.lang.String str)
          Parse an incoming IM response string
 
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

from

java.lang.String from

autoResponse

boolean autoResponse

msg

java.lang.String msg

RESPONSE_TYPE

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

IMTocResponse

public IMTocResponse()
Creates new TocIMResponse

Method Detail

getFrom

public java.lang.String getFrom()
Obtain the name of the buddy who sent this instant message


getMsg

public java.lang.String getMsg()
Obtain the message


getAutoResponse

public boolean getAutoResponse()
Is this response an automatically generated response?


parseString

public TocResponse parseString(java.lang.String str)
Parse an incoming IM response string

Specified by:
parseString in interface TocResponseHandler

doParse

private void doParse(java.lang.String str)

getResponseType

public java.lang.String getResponseType()
Obtain the response type for response dispatching purposes

Specified by:
getResponseType in class TocResponse

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