org.eclipse.ecf.presence.bot
Interface IChatRoomMessageHandler
- All Superinterfaces:
- IChatRoomContainerAdvisor, IContainerAdvisor
- All Known Implementing Classes:
- EmptyChatRoomMessageHandler
public interface IChatRoomMessageHandler
- extends IChatRoomContainerAdvisor
Message handler for receiving a chat room message.
init
void init(IChatRoomBotEntry robot)
- Initialize robot with robot entry data.
- Parameters:
robot
- the robot to initialize. Will not be null
.
handleRoomMessage
void handleRoomMessage(IChatRoomMessage message)
- This method is called when a
IChatRoomMessage
is received.
- Parameters:
message
- the IChatRoomMessage
received. Will not be
null
. Implementers should not block the
calling thread. Any methods on the given message
parameter may be called.