|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.presence.bot.impl.EmptyChatRoomMessageHandler
public class EmptyChatRoomMessageHandler
Default chat room message handler that does nothing in response to notifications.
Constructor Summary | |
---|---|
EmptyChatRoomMessageHandler()
|
Method Summary | |
---|---|
void |
handleRoomMessage(IChatRoomMessage message)
This method is called when a IChatRoomMessage is received. |
void |
init(IChatRoomBotEntry robot)
Initialize robot with robot entry data. |
void |
preChatRoomConnect(IChatRoomContainer roomContainer,
ID roomID)
This method will be called prior to connecting to the roomContainer . |
void |
preContainerConnect(IContainer container,
ID targetID)
This method will be called prior to calling the container's IContainer.connect(ID, org.eclipse.ecf.core.security.IConnectContext)
method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyChatRoomMessageHandler()
Method Detail |
---|
public void handleRoomMessage(IChatRoomMessage message)
IChatRoomMessageHandler
IChatRoomMessage
is received.
handleRoomMessage
in interface IChatRoomMessageHandler
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.public void preChatRoomConnect(IChatRoomContainer roomContainer, ID roomID)
IChatRoomContainerAdvisor
roomContainer
. The given roomContainer
and
roomID
will not be null
.
preChatRoomConnect
in interface IChatRoomContainerAdvisor
roomContainer
- the IChatRoomContainer
that will be connected to. Will
not be null
.roomID
- the ID
of the room that will be connected to. Will not
be null
.public void preContainerConnect(IContainer container, ID targetID)
IContainerAdvisor
IContainer.connect(ID, org.eclipse.ecf.core.security.IConnectContext)
method.
preContainerConnect
in interface IContainerAdvisor
container
- the container instance created. Will not be null
.targetID
- the target id instance to connect to. Will not be
null
.public void init(IChatRoomBotEntry robot)
IChatRoomMessageHandler
init
in interface IChatRoomMessageHandler
robot
- the robot to initialize. Will not be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |