Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | addChatServiceListener (IChatServiceListener chatServiceListener) |
void | removeChatServiceListener (IChatServiceListener chatServiceListener) |
void | notifyChatCreated (IChat chat, boolean createdLocally) |
void | notifyChatDestroyed (IChat chat) |
void | notifyChatAborted (IChat chat, XMPPException exception) |
Parent class for chat services. It provides convenience methods for notifying registered listeners.
void de.fu_berlin.inf.dpp.communication.chat.AbstractChatService.addChatServiceListener | ( | IChatServiceListener | chatServiceListener | ) |
Register chat service listener for events.
chatServiceListener | chat service listener to register for events |
Implements de.fu_berlin.inf.dpp.communication.chat.IChatService.
void de.fu_berlin.inf.dpp.communication.chat.AbstractChatService.notifyChatAborted | ( | IChat | chat, |
XMPPException | exception | ||
) |
Notify all IChatServiceListeners that an IChat has been aborted through errors in the XMPP/network layer.
chat | the IChat that has been aborted |
exception | XMPPException that has been thrown |
void de.fu_berlin.inf.dpp.communication.chat.AbstractChatService.notifyChatCreated | ( | IChat | chat, |
boolean | createdLocally | ||
) |
Notify all IChatServiceListeners that an IChat has been created.
chat | IChat which has been created |
createdLocally | true if the chat has been created by the local user, false if the chat has been created by some remote action |
void de.fu_berlin.inf.dpp.communication.chat.AbstractChatService.notifyChatDestroyed | ( | IChat | chat | ) |
Notify all IChatServiceListeners that an IChat has been destroyed.
chat | IChat which has been destroyed |
void de.fu_berlin.inf.dpp.communication.chat.AbstractChatService.removeChatServiceListener | ( | IChatServiceListener | chatServiceListener | ) |
Unregister chat service listener from events.
chatServiceListener | chat service listener to unregister from events |
Implements de.fu_berlin.inf.dpp.communication.chat.IChatService.