Package net.java.sip.communicator.service.protocol

Examples of net.java.sip.communicator.service.protocol.Contact


    {
        String displayName = getPeerAddress().getDisplayName();

        if(displayName == null)
        {
            Contact contact = getContact();

            if (contact != null)
                displayName = contact.getDisplayName();
            else
                displayName = getPeerAddress().getURI().toString();
        }

        if(displayName.startsWith("sip:"))
View Full Code Here


        {
            logger.error("Can't get invitation URL");
            return;
        }

        Contact to = metaContact.getDefaultContact();
        String invitationUrlForSend = null;
        try
        {
            invitationUrlForSend =
                OpenmeetingsConfigManager.getInstance().getInvitationUrl(
                    to.getDisplayName());
        }
        catch (Exception e1)
        {
            logger.info(e1.getMessage());
        }
View Full Code Here

    {
        String displayName = getPeerAddress().getDisplayName();

        if(displayName == null)
        {
            Contact contact = getContact();

            if (contact != null)
                displayName = contact.getDisplayName();
            else
            {
                URI peerURI = getPeerAddress().getURI();

                if (peerURI instanceof SipURI)
View Full Code Here

    {
        String displayName = getPeerAddress().getDisplayName();

        if(displayName == null)
        {
            Contact contact = getContact();

            if (contact != null)
                displayName = contact.getDisplayName();
            else
            {
                URI peerURI = getPeerAddress().getURI();

                if (peerURI instanceof SipURI)
View Full Code Here

            OperationSetPresenceSipImpl opSetPersPresence =
                    (OperationSetPresenceSipImpl) protocolProvider
                        .getOperationSet(OperationSetPersistentPresence.class);

            Contact from = null;
            if(opSetPersPresence != null)
                from = opSetPersPresence.resolveContactID(
                    fromHeader.getAddress().getURI().toString());

            if (from == null && opSetPersPresence != null)
View Full Code Here

            OperationSetPresenceSipImpl opSetPersPresence =
                    (OperationSetPresenceSipImpl) protocolProvider
                        .getOperationSet(OperationSetPersistentPresence.class);

            Contact from = null;
            if(opSetPersPresence != null)
                from = opSetPersPresence.resolveContactID(
                    fromHeader.getAddress().getURI().toString());

            if (from == null && opSetPersPresence != null)
View Full Code Here

TOP

Related Classes of net.java.sip.communicator.service.protocol.Contact

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.