Package net.solosky.maplefetion.event.notify

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


          SipcRequest request = this.dialog.getMessageFactory().createGetContactInfoRequest(uri);
          request.setResponseHandler(new GetContactInfoResponseHandler(context, dialog, ((Buddy)buddy),null));
          dialog.process(request);
      }
      //通知监听器
      this.tryFireNotifyEvent(new BuddyApplicationEvent( buddy, desc));
    logger.debug("Recived a buddy application:"+desc);
    }
View Full Code Here


  @Override
  public void fireEvent(NotifyEvent event)
  {
    switch(event.getEventType()){
      case BUDDY_APPLICAION:
        BuddyApplicationEvent e1 = (BuddyApplicationEvent) event;
        this.buddyApplication(e1.getBuddy(), e1.getDesc());
        break;
       
      case BUDDY_MESSAGE:
        BuddyMessageEvent e2 = (BuddyMessageEvent) event;
        this.buddyMessageRecived(e2.getBuddy(), e2.getMessage(), e2.getDialogProxy());
View Full Code Here

TOP

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

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.