org.eclipse.ecf.presence.bot.impl
Class IMBot
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bot
protected IIMBotEntry bot
container
protected IContainer container
targetID
protected ID targetID
IMBot
public IMBot(IIMBotEntry bot)
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
.