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

List of all members.

Public Member Functions

 SingleUserChatService (XMPPConnectionService connectionService)
synchronized SingleUserChat createChat (JID toUserJID)
synchronized SingleUserChat createChat (Chat chat)
synchronized Set< IChatgetChats ()
void destroyChat (IChat chat)

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService.SingleUserChatService ( XMPPConnectionService  connectionService)

Member Function Documentation

synchronized SingleUserChat de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService.createChat ( JID  toUserJID)

Create a new SingleUserChat with the given JID as participant.

Parameters:
toUserJIDparticipant of the new chat
Returns:
a new SingleUserChat if it has not been created yet, otherwise the existing SingleUserChat is returned
synchronized SingleUserChat de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService.createChat ( Chat  chat)

Creates a new SingleUserChat with the given Chat.

Parameters:
chatChat which specifies the participant
Returns:
a new SingleUserChat if it has not been created yet, otherwise the existing SingleUserChat is returned.
void de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService.destroyChat ( IChat  chat)
synchronized Set<IChat> de.fu_berlin.inf.dpp.communication.chat.single.SingleUserChatService.getChats ( )

Returns all chats that belong to the chat service.

Returns:
all chats that belong to the chat service

Implements de.fu_berlin.inf.dpp.communication.chat.IChatService.

 All Classes Namespaces Files Functions Variables Enumerations