tigase.jaxmpp.core.client.xmpp.modules.chat
Class JidOnlyChatSelector

java.lang.Object
  extended by tigase.jaxmpp.core.client.xmpp.modules.chat.JidOnlyChatSelector
All Implemented Interfaces:
ChatSelector

public class JidOnlyChatSelector
extends Object
implements ChatSelector

Selects chat based on bare JID only.


Constructor Summary
JidOnlyChatSelector()
           
 
Method Summary
 Chat getChat(List<Chat> chats, JID jid, String threadId)
          Selects chat from list based on specified JID and thread id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JidOnlyChatSelector

public JidOnlyChatSelector()
Method Detail

getChat

public Chat getChat(List<Chat> chats,
                    JID jid,
                    String threadId)
Description copied from interface: ChatSelector
Selects chat from list based on specified JID and thread id.

Specified by:
getChat in interface ChatSelector
Parameters:
chats - list of chats.
jid - sender JID
threadId - thread-id
Returns:
chat or null if not matched.


Copyright © 2006-2013 Tigase. All Rights Reserved.