Examples of MsnContact


Examples of net.sf.jml.MsnContact

            String ip, int port) {
        super(messenger, createdByOwner, ip, port);
    }

    public void inviteContact(Email email) {
        MsnContact contact = getMessenger().getContactList().getContactByEmail(
                email);
        if (contact == null || !contact.isInList(MsnList.FL))
            return;
        if (containContact(contact))
            return;
        OutgoingCAL message = new OutgoingCAL(getMessenger()
                .getActualMsnProtocol());
View Full Code Here

Examples of net.sf.jml.MsnContact

            MsnOwnerImpl owner = (MsnOwnerImpl) session.getMessenger().getOwner();
            owner.fSetDisplayName(getFriendlyName());
            ((AbstractMessenger) session.getMessenger()).fireOwnerDisplayNameChanged();
        }
        else {
            MsnContact contact = contactList.getContactById(getId());
            if (contact != null) {
                ((MsnContactImpl) contact).setFriendlyName(getFriendlyName());
            }
        }
    }
View Full Code Here

Examples of net.sf.jml.MsnContact

    {
        if (email == null || file == null)
            return null;

        // if contact is offline send as OIM
        MsnContact c = session.getMessenger().
            getContactList().getContactByEmail(email);

        if(c != null && c.getStatus().equals(MsnUserStatus.OFFLINE))
        {
            logger.warn("Contact is either null or offline cannot send file");
            return null;
        }
View Full Code Here

Examples of net.sf.jml.MsnContact

    }

    @Override
  protected void messageReceived(MsnSession session) {
        super.messageReceived(session);
        MsnContact contact = session.getMessenger().getContactList()
                .getContactByEmail(getEmail());

        if (contact != null) {
            ((MsnContactImpl) contact).setStatus(MsnUserStatus.OFFLINE);
            ((AbstractMessenger) session.getMessenger())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.