Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.communication.chat.IChatService Interface Reference
Inheritance diagram for de.fu_berlin.inf.dpp.communication.chat.IChatService:
de.fu_berlin.inf.dpp.communication.chat.AbstractChatService de.fu_berlin.inf.dpp.communication.chat.muc.MultiUserChatService de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService

List of all members.

Public Member Functions

void addChatServiceListener (IChatServiceListener chatServiceListener)
void removeChatServiceListener (IChatServiceListener chatServiceListener)
void destroyChat (IChat chat)
Set< IChatgetChats ()

Detailed Description

This interface is used for handling of the IChats life cycle.


Member Function Documentation

void de.fu_berlin.inf.dpp.communication.chat.IChatService.addChatServiceListener ( IChatServiceListener  chatServiceListener)

Register chat service listener for events.

Parameters:
chatServiceListenerchat service listener to register for events

Implemented in de.fu_berlin.inf.dpp.communication.chat.AbstractChatService.

void de.fu_berlin.inf.dpp.communication.chat.IChatService.destroyChat ( IChat  chat)

Destroy and disconnect chat object.

Parameters:
chatchat to destroy and disconnect

Implemented in de.fu_berlin.inf.dpp.communication.chat.muc.MultiUserChatService, and de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService.

Set<IChat> de.fu_berlin.inf.dpp.communication.chat.IChatService.getChats ( )

Returns all chats that belong to the chat service.

Returns:
all chats that belong to the chat service

Implemented in de.fu_berlin.inf.dpp.communication.chat.muc.MultiUserChatService, and de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService.

void de.fu_berlin.inf.dpp.communication.chat.IChatService.removeChatServiceListener ( IChatServiceListener  chatServiceListener)

Unregister chat service listener from events.

Parameters:
chatServiceListenerchat service listener to unregister from events

Implemented in de.fu_berlin.inf.dpp.communication.chat.AbstractChatService.

 All Classes Namespaces Files Functions Variables Enumerations