Package net.sf.jml

Examples of net.sf.jml.MsnProtocol


    }
   
    //Solved ADL long-contact-list issue - BLuEGoD
    public void sendContactList(){
        AbstractMessenger messenger = (AbstractMessenger)session.getMessenger();
        MsnProtocol protocol = messenger.getActualMsnProtocol();

        if (protocol.after(MsnProtocol.MSNP12)){
            MsnContactListImpl contactList = (MsnContactListImpl) session
            .getMessenger().getContactList();
            MsnContact[] cs = contactList.getContacts();
            int cs_size=cs.length;
            Queue<MsnContact> csq= new LinkedList<MsnContact>();       
View Full Code Here


         *
         * James Lopez (BLuEGoD) - <bluegod at bluegod.net>
         */
       
        AbstractMessenger messenger = (AbstractMessenger)session.getMessenger();
        MsnProtocol protocol = messenger.getActualMsnProtocol();
        messenger.getOwner().setDisplayName(messenger.getOwner().getDisplayName());
       
        protocol = messenger.getActualMsnProtocol();
        if (protocol.after(MsnProtocol.MSNP9)){
            OutgoingUUX uuxmessage = new OutgoingUUX(protocol);
            uuxmessage.setPersonalMessage(messenger.getOwner().getPersonalMessage());
            uuxmessage.setMachineGuid("{F26D1F07-95E2-403C-BC18-D4BFED493428}");
            messenger.send(uuxmessage);
        }
View Full Code Here

    }
   
    //Solved ADL long-contact-list issue - BLuEGoD
    public void sendContactList(){
        AbstractMessenger messenger = (AbstractMessenger)session.getMessenger();
        MsnProtocol protocol = messenger.getActualMsnProtocol();

        if (protocol.after(MsnProtocol.MSNP12))
        {
            MsnContactListImpl contactList = (MsnContactListImpl) session
                .getMessenger().getContactList();
            MsnContact[] cs = contactList.getContacts();
            int cs_size = cs.length;
View Full Code Here

         *
         * James Lopez (BLuEGoD) - <bluegod at bluegod.net>
         */
       
        AbstractMessenger messenger = (AbstractMessenger)session.getMessenger();
        MsnProtocol protocol = messenger.getActualMsnProtocol();
        messenger.getOwner().setDisplayName(messenger.getOwner().getDisplayName());
       
        protocol = messenger.getActualMsnProtocol();
        if (protocol.after(MsnProtocol.MSNP9)){
            OutgoingUUX uuxmessage = new OutgoingUUX(protocol);
            uuxmessage.setPersonalMessage(messenger.getOwner().getPersonalMessage());
            uuxmessage.setMachineGuid("{F26D1F07-95E2-403C-BC18-D4BFED493428}");
            messenger.send(uuxmessage);
        }
View Full Code Here

       
        if (protocol.before(MsnProtocol.MSNP13)){
            //session.getContactList().processInit();
            //AbstractMessenger messenger = (AbstractMessenger)session.getMessenger();
            MsnProtocol protocol = messenger.getActualMsnProtocol();
            messenger.getOwner().setDisplayName(messenger.getOwner().getDisplayName());
           
            if (protocol.after(MsnProtocol.MSNP9)){
                OutgoingUUX uuxmessage = new OutgoingUUX(protocol);
                uuxmessage.setPersonalMessage(messenger.getOwner().getPersonalMessage());
                uuxmessage.setMachineGuid("{F26D1F07-95E2-403C-BC18-D4BFED493428}");
                messenger.send(uuxmessage);
            }
View Full Code Here

    }

    public MsnProtocol[] getSupportedProtocol() {
      final List<MsnProtocol> protocols = new ArrayList<MsnProtocol>();
        for (int i = 0; i < getParamCount(); i++) {
          final MsnProtocol protocol = MsnProtocol.parseStr(getParam(i));
            if (protocol != null) {
              protocols.add(protocol);
            }
        }
        return protocols.toArray(new MsnProtocol[protocols.size()]);
View Full Code Here

TOP

Related Classes of net.sf.jml.MsnProtocol

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.