|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jml.net.SessionAdapter
net.java.sip.communicator.impl.protocol.msn.EventManager
public class EventManager
Manager which listens for changing of the contact list and fires some events.
| Constructor Summary | |
|---|---|
EventManager(ProtocolProviderServiceMsnImpl msnProvider,
net.sf.jml.impl.BasicMessenger msnMessenger)
Initializes a new EventManager instance which is to manage the events of a specific BasicMessenger as part of its operation for the purposes of a specific ProtocolProviderServiceMsnImpl. |
|
| Method Summary | |
|---|---|
void |
addModificationListener(MsnContactListEventListener listener)
Adds listener of the modification fired events |
void |
messageReceived(net.sf.jml.net.Session session,
net.sf.jml.net.Message message)
Called from the underling lib when message is received from the server |
void |
messageSent(net.sf.jml.net.Session session,
net.sf.jml.net.Message message)
Called from the underling lib when message is sent to the server |
void |
removeModificationListener(MsnContactListEventListener listener)
Removes listener of the modification fired events |
void |
sessionTimeout(net.sf.jml.net.Session socketSession)
Called when there was timeout on the connection. |
| Methods inherited from class net.sf.jml.net.SessionAdapter |
|---|
exceptionCaught, sessionClosed, sessionEstablished, sessionIdle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventManager(ProtocolProviderServiceMsnImpl msnProvider,
net.sf.jml.impl.BasicMessenger msnMessenger)
msnProvider - the ProtocolProviderServiceMsnImpl which is
the creator of the new instancemsnMessenger - the BasicMessenger which is to have its
events managed by the new instance| Method Detail |
|---|
public void addModificationListener(MsnContactListEventListener listener)
listener - the modification listener we're addingpublic void removeModificationListener(MsnContactListEventListener listener)
listener - EventListener
public void messageSent(net.sf.jml.net.Session session,
net.sf.jml.net.Message message)
throws Exception
messageSent in interface net.sf.jml.net.SessionListenermessageSent in class net.sf.jml.net.SessionAdaptersession - Sessionmessage - Message
Exception
public void messageReceived(net.sf.jml.net.Session session,
net.sf.jml.net.Message message)
throws Exception
messageReceived in interface net.sf.jml.net.SessionListenermessageReceived in class net.sf.jml.net.SessionAdaptersession - Sessionmessage - Message
Exception
public void sessionTimeout(net.sf.jml.net.Session socketSession)
throws Exception
sessionTimeout in interface net.sf.jml.net.SessionListenersessionTimeout in class net.sf.jml.net.SessionAdaptersocketSession -
Exception
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||