HomeSort by relevance Sort by last modified time
    Searched refs:ChatState (Results 1 - 4 of 4) sorted by null

  /external/smack/src/org/jivesoftware/smackx/
ChatState.java 29 public enum ChatState {
ChatStateListener.java 39 void stateChanged(Chat chat, ChatState state);
ChatStateManager.java 46 * @see org.jivesoftware.smackx.ChatState
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 {
145 private boolean updateChatState(Chat chat, ChatState newState) {
146 ChatState lastChatState = chatStates.get(chat);
154 private void fireNewChatState(Chat chat, ChatState state) {
170 if (updateChatState(chat, ChatState.active)) {
171 message.addExtension(new ChatStateExtension(ChatState.active));
189 ChatState state
    [all...]
  /external/smack/src/org/jivesoftware/smackx/packet/
ChatStateExtension.java 23 import org.jivesoftware.smackx.ChatState;
33 * @see org.jivesoftware.smackx.ChatState
37 private ChatState state;
44 public ChatStateExtension(ChatState state) {
63 ChatState state;
65 state = ChatState.valueOf(parser.getName());
68 state = ChatState.active;

Completed in 2331 milliseconds