org.eclipse.ecf.presence.bot.impl
Class IMBot

java.lang.Object
  extended by org.eclipse.ecf.presence.bot.impl.IMBot
All Implemented Interfaces:
IIMMessageListener

public class IMBot
extends java.lang.Object
implements IIMMessageListener

Default im robot implementation class.


Field Summary
protected  IIMBotEntry bot
           
protected  IContainer container
           
protected  ID targetID
           
 
Constructor Summary
IMBot(IIMBotEntry bot)
           
 
Method Summary
 void connect()
           
protected  void fireInitBot()
           
protected  void firePreConnect()
           
 void handleMessageEvent(IIMMessageEvent event)
          Handle message event (reception of chat, typing, or object message).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bot

protected IIMBotEntry bot

container

protected IContainer container

targetID

protected ID targetID
Constructor Detail

IMBot

public IMBot(IIMBotEntry bot)
Method Detail

fireInitBot

protected void fireInitBot()

firePreConnect

protected void firePreConnect()

connect

public void connect()
             throws ECFException
Throws:
ECFException

handleMessageEvent

public void handleMessageEvent(IIMMessageEvent event)
Description copied from interface: IIMMessageListener
Handle message event (reception of chat, typing, or object message).

Specified by:
handleMessageEvent in interface IIMMessageListener
Parameters:
event - the event instance to handle. Will not be null.