Package net.sf.jml.event

Examples of net.sf.jml.event.MsnAdapter


    private static Log log = LogFactory.getLog(MSNWrapperImpl.class);

    public void login(String userID, String password) throws IMException {

        messenger = MsnMessengerFactory.createMsnMessenger(userID, password);
        messenger.addMessengerListener(new MsnAdapter() {

            public void loginCompleted(MsnMessenger messenger) {
                loginProcessed = false;
                loggedIn = true;
                if (log.isDebugEnabled()) {
View Full Code Here


      if(!loggingin){
        if(messenger==null || !messenger.isLogIncoming()){
          messenger = MsnMessengerFactory.createMsnMessenger(msnUserId, password);
              messenger.login();             
              loggingin = true;             
              messenger.addListener(new MsnAdapter(){
            public void loginCompleted(MsnMessenger messenger) {
              bLogin.add("");
              loggingin = false;
            }
          });
View Full Code Here

          "./resource/UserTile/headset.png");
      messenger.getOwner().setInitDisplayPicture(displayPicture);
    } catch (Exception ex) {
      log.warn("can't load user tile.",ex);
    }
    messenger.addListener(new MsnAdapter() {

          public void contactListInitCompleted(MsnMessenger messenger) {
              log.info(messenger + " contact list init completeted");
              retrieveContactsAvatars(messenger);
          }
View Full Code Here

TOP

Related Classes of net.sf.jml.event.MsnAdapter

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.