Package net.solosky.maplefetion.event.notify

Examples of net.solosky.maplefetion.event.notify.ClientStateEvent


        BuddyPresenceEvent e4 = (BuddyPresenceEvent) event;
        this.buddyPresenceChanged(e4.getBuddy());
        break;
       
      case CLIENT_STATE:
        ClientStateEvent e5 = (ClientStateEvent) event;
        this.clientStateChanged(e5.getClientState());
        break;
     
      case GROUP_MESSAGE:
        GroupMessageEvent e6 = (GroupMessageEvent) event;
        this.groupMessageRecived(e6.getGroup(),e6.getMember(), e6.getMessage(), e6.getGroupDialog());
View Full Code Here


     */
    public void updateState(ClientState state)
    {
      this.state = state;
      if(this.notifyEventListener!=null)
        this.notifyEventListener.fireEvent(new ClientStateEvent(state));
    }
View Full Code Here

      this.dispose();
     
      //上面只是更新了客户端状态,还没有回调状态改变函数,为了防止用户在回调函数里面做一些
      //可能会影响客户端状态的操作,如马上登陆,所以把回调用户函数放在最后面来完成
      if(this.notifyEventListener!=null)
        this.notifyEventListener.fireEvent(new ClientStateEvent(state));
    }
View Full Code Here

TOP

Related Classes of net.solosky.maplefetion.event.notify.ClientStateEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.