tigase.jaxmpp.core.client.xmpp.modules.chat
Class DefaultChatSelector
java.lang.Object
tigase.jaxmpp.core.client.xmpp.modules.chat.DefaultChatSelector
- All Implemented Interfaces:
- ChatSelector
public class DefaultChatSelector
- extends Object
- implements ChatSelector
Selects chat based on jid, resource and thread-id.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultChatSelector
public DefaultChatSelector()
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 JIDthreadId - thread-id
- Returns:
- chat or
null if not matched.
Copyright © 2006–2013 Tigase. All rights reserved.