Package org.cafesip.jiplet

Examples of org.cafesip.jiplet.Pair


        else
        {
            return null;
        }
       
        compiledList.add(new Pair(match, mappedObject));
        JipletLogger.debug("Mapped " + match.toExpression()
                + " to " + mappedObject);
        return match.toExpression();
    }
View Full Code Here


            sendAuthSuccess(req_msg, provider);
            debug("Sent a OK response to the registration message");
           
            // pass this information to the presence service so notifications can be sent out
            Pair status = new Pair(uri, c);
            requestEvent.setAttribute("registrationInfo", status);
            forward(requestEvent, "ExamplePresenceServiceJiplet");           
        }
        catch (Exception ex)
        {
View Full Code Here

            debug("SipPresence: received REGISTER event");
        }

        try
        {
            Pair status = (Pair) requestEvent.getAttribute("registrationInfo");
            if (status == null)
            {
                error("SipPresence.doRegister() - SCOPE VARIABLE STATUS IS NULL - cannot notify buddies of registration/unregistration.");
                return;
            }

            processRegistration((String) status.getFirst(),
                    (ContactInfo) status.getSecond());

        }
        finally
        {
            forward(requestEvent, "ExampleSIPRecorderJiplet");
View Full Code Here

TOP

Related Classes of org.cafesip.jiplet.Pair

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.