Package net.solosky.maplefetion.event.notify

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


      Member member = this.context.getFetionStore().getGroupMember(group, notify.getHeader("SO").getValue());
      String body   = notify.getBody()!=null?notify.getBody().toSendString():""//防止产生NULL错误
      GroupDialog groupDialog = this.context.getDialogFactory().findGroupDialog(group);
     
      if(group!=null && member!=null && groupDialog!=null&&this.context.getNotifyEventListener()!=null) {
        this.tryFireNotifyEvent(new GroupMessageEvent(group, member, this.parseMessage(notify), groupDialog));
       
        logger.debug("Received a group message:[ Group="+group.getName()+", from="+member.getDisplayName()+", msg="+body );
      }
    }
View Full Code Here


        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());
        break;
     
      case LOGIN_STATE:
        LoginStateEvent e7 = (LoginStateEvent) event;
        this.loginStateChanged(e7.getLoginState());
View Full Code Here

TOP

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

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.