|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
IChatRoomMessageHandlerIChatRoomMessage is received.
handleRoomMessage in interface IChatRoomMessageHandlermessage - 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)
IChatRoomContainerAdvisorroomContainer. The given roomContainer and
roomID will not be null.
preChatRoomConnect in interface IChatRoomContainerAdvisorroomContainer - 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)
IContainerAdvisorIContainer.connect(ID, org.eclipse.ecf.core.security.IConnectContext)
method.
preContainerConnect in interface IContainerAdvisorcontainer - 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 IChatRoomMessageHandlerrobot - the robot to initialize. Will not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||