Searched refs:ChatState (Results 1 – 4 of 4) sorted by relevance
23 import org.jivesoftware.smackx.ChatState;37 private ChatState state;44 public ChatStateExtension(ChatState state) { in ChatStateExtension()63 ChatState state; in parseExtension()65 state = ChatState.valueOf(parser.getName()); in parseExtension()68 state = ChatState.active; in parseExtension()
89 private final Map<Chat, ChatState> chatStates =90 new ReferenceMap<Chat, ChatState>(ReferenceMap.WEAK, ReferenceMap.HARD);116 public void setCurrentState(ChatState newState, Chat chat) throws XMPPException { in setCurrentState()145 private boolean updateChatState(Chat chat, ChatState newState) { in updateChatState()146 ChatState lastChatState = chatStates.get(chat); in updateChatState()154 private void fireNewChatState(Chat chat, ChatState state) { in fireNewChatState()170 if (updateChatState(chat, ChatState.active)) { in interceptPacket()171 message.addExtension(new ChatStateExtension(ChatState.active)); in interceptPacket()189 ChatState state; in processMessage()191 state = ChatState.valueOf(extension.getElementName()); in processMessage()
29 public enum ChatState { enum
39 void stateChanged(Chat chat, ChatState state); in stateChanged()