com.multisoftgroup.jerry.webchat.client
Class VisitorManager

java.lang.Object
  extended by com.multisoftgroup.jerry.webchat.client.VisitorManager

public class VisitorManager
extends Object

This manager is responsible for creation and release visitor JIDs

Author:
Pavel Savin

Constructor Summary
VisitorManager(JerryAccount account)
           
 
Method Summary
 JID getJID(String visitorName)
          Creates an unique visitor JID within JerryAccount
 VisitorInfo getVisitorInfo(JID jid)
           
 void releaseJID(JID jid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisitorManager

public VisitorManager(JerryAccount account)
Method Detail

getJID

public JID getJID(String visitorName)
Creates an unique visitor JID within JerryAccount

Parameters:
visitorName - visitor name
Returns:
JID

getVisitorInfo

public VisitorInfo getVisitorInfo(JID jid)

releaseJID

public void releaseJID(JID jid)