org.eclipse.ecf.presence.bot
Interface IIMMessageHandler

All Superinterfaces:
IContainerAdvisor
All Known Implementing Classes:
EmptyIMMessageHandler

public interface IIMMessageHandler
extends IContainerAdvisor

Message handler for receiving a IM message.


Method Summary
 void handleIMMessage(IChatMessage message)
          This method is called when a IChatMessage is received.
 void init(IIMBotEntry robot)
          Initialize robot with robot entry data.
 
Methods inherited from interface org.eclipse.ecf.presence.bot.IContainerAdvisor
preContainerConnect
 

Method Detail

init

void init(IIMBotEntry robot)
Initialize robot with robot entry data.

Parameters:
robot - the robot to initialize. Will not be null.

handleIMMessage

void handleIMMessage(IChatMessage message)
This method is called when a IChatMessage is received.

Parameters:
message - the IChatMessage received. Will not be null. Implementers should not block the calling thread. Any methods on the given message parameter may be called.