|
||||||||||
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.EmptyIMMessageHandler
public class EmptyIMMessageHandler
Default im message handler that does nothing in response to notifications.
Constructor Summary | |
---|---|
EmptyIMMessageHandler()
|
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. |
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 EmptyIMMessageHandler()
Method Detail |
---|
public void handleIMMessage(IChatMessage message)
IIMMessageHandler
IChatMessage
is received.
handleIMMessage
in interface IIMMessageHandler
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.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(IIMBotEntry robot)
IIMMessageHandler
init
in interface IIMMessageHandler
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 |