org.eclipse.ecf.presence.bot.impl
Class ChatRoomBot
java.lang.Object
org.eclipse.ecf.presence.bot.impl.ChatRoomBot
- All Implemented Interfaces:
- IIMMessageListener
public class ChatRoomBot
- extends java.lang.Object
- implements IIMMessageListener
Default chat room robot implementation class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bot
protected IChatRoomBotEntry bot
container
protected IContainer container
targetID
protected ID targetID
roomContainer
protected IChatRoomContainer roomContainer
roomID
protected ID roomID
ChatRoomBot
public ChatRoomBot(IChatRoomBotEntry bot)
fireInitBot
protected void fireInitBot()
firePreConnect
protected void firePreConnect()
firePreRoomConnect
protected void firePreRoomConnect()
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
.