Package net.sf.jml.event

Examples of net.sf.jml.event.MsnContactListAdapter


                }
                log.error(throwable);
            }
        });

        messenger.addContactListListener(new MsnContactListAdapter() {

            public void contactListInitCompleted(MsnMessenger messenger) {
                loginProcessed = true;
                if (log.isDebugEnabled()) {
                    log.debug("Contact List Init completed");
View Full Code Here


* @author Roger Chen
*/
public class HelloMessenger extends BasicMessenger {

    protected void initMessenger(MsnMessenger messenger) {
        messenger.addContactListListener(new MsnContactListAdapter() {

            public void contactListInitCompleted(MsnMessenger messenger) {
                //get contacts in allow list
                MsnContact[] contacts = messenger.getContactList()
                        .getContactsInList(MsnList.AL);
View Full Code Here

    messenger.setLogIncoming(true);
    messenger.setLogOutgoing(true);
    messenger.addListener(new MsnListener());
    messenger.login();

    messenger.addContactListListener(new MsnContactListAdapter()
    {
      public void contactStatusChanged(MsnMessenger msn, MsnContact con)
      {
        System.out.println(con.getDisplayName());
        System.out.println(con.getPersonalMessage());
View Full Code Here

TOP

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

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.