com.multisoftgroup.jerry.webchat.client
Class ChatManager
java.lang.Object
com.multisoftgroup.jerry.webchat.client.ChatManager
public class ChatManager
- extends Object
This manager is responsible for creation Chats within particular JerryAccount.
Jerry Messenger keeps only one instance of ChatManager for each JerryAccount.
- Author:
- Pavel Savin
- See Also:
VisitorManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatManager
ChatManager(JerryAccount account)
createChat
public Chat createChat(String visitorName,
JID operatorJID,
VisitorWebInfo info,
String operatorName)
throws com.multisoftgroup.common.ApplicationException
- Throws:
com.multisoftgroup.common.ApplicationException
close
public void close()
sendPacket
public void sendPacket(Packet packet)
getVisitorInfo
public VisitorInfo getVisitorInfo(String visitorAddress)
throws com.multisoftgroup.common.ApplicationException
- Throws:
com.multisoftgroup.common.ApplicationException
releaseVisitorJID
public void releaseVisitorJID(JID visitorJID)
getJerryAccount
public JerryAccount getJerryAccount()