Package com.ericsson.ssa.container.reporter

Examples of com.ericsson.ssa.container.reporter.Reporter


                if (next != null) {
                    // Servlet reporter should not normally be intercepted in transaction layer
                    // but we need to do it for cancel since cancel bypasses the layers and goes straigth into
                    // first pathnode!
                    Reporter reporter = ApplicationDispatcher.getInstance().getServletReporters();
                    if (reporter != null) {
                        String interceptedAt;
                        if (cancelPendingTrigger.getApplicationSessionImpl() == null) {
                            interceptedAt = this.getClass().getSimpleName();
                        } else {
                            interceptedAt = cancelPendingTrigger.getApplicationSessionImpl().getApplicationName() + "/"
                                    + cancelPendingTrigger.getSessionImpl().getHandler();
                        }
                        reporter.logIncomingRequest(Reporter.InterceptionType.SERVLET, cancel, interceptedAt);
                    }

                  // lets go directly to path node...
                  // this is unique in that the dialog we should lock on is not the dialog of the cancel
                  // but the one of the original request...
View Full Code Here


        SipServletRequestImpl pending = req.getTransactionRequest();
        if (!pending.isCommitted() && pending.getSessionImpl().isB2buaHelper()) {
          pending.getSessionImpl().addPendingMessage(pending, UAMode.UAC);
        }
       
        Reporter reporter = ApplicationDispatcher.getInstance().getServletReporters();
        if (reporter != null) {
            String interceptedAt = req.getApplicationSessionImpl().getApplicationName() + "/" + req.getSessionImpl().getHandler();
            reporter.logOutgoingRequest(Reporter.InterceptionType.SERVLET, req, interceptedAt);
        }
       

        SipContainerThreadPool.getInstance().execute(new Callable() {
                public Object call() throws Exception {
View Full Code Here

     */
    public void send(SipServletResponseImpl resp, UA uas)
        throws IllegalStateException {
        final SipServletResponseImpl forward = resp;
       
        Reporter reporter = ApplicationDispatcher.getInstance().getServletReporters();
        if (reporter != null) {
            String interceptedAt = resp.getApplicationSessionImpl().getApplicationName() + "/" + resp.getSessionImpl().getHandler();
            reporter.logOutgoingResponse(Reporter.InterceptionType.SERVLET, resp, interceptedAt);
        }
       
        SipContainerThreadPool.getInstance().execute(new Callable() {
                public Object call() throws Exception {
                        // Activate the dialog lifecycle u-o-w
View Full Code Here

    public static void next(SipServletRequestImpl req, Layer layer,
        Layer nextLayer) {
        if (nextLayer == null) {
            layer.dispatch(req);
        } else {
            Reporter reporter = nextLayer.getReporter();
            if(reporter != null) {
                reporter.logIncomingRequest(Reporter.InterceptionType.LAYER, req, layer.getClass().getSimpleName());
            }
           
            nextLayer.next(req);
           
            if(reporter != null) {
                reporter.logPostIncomingRequest(Reporter.InterceptionType.LAYER, req, layer.getClass().getSimpleName(), null);
            }           
        }
    }
View Full Code Here

    public static void next(SipServletResponseImpl resp, Layer layer,
        Layer nextLayer) {
        if (nextLayer == null) {
            layer.dispatch(resp);
        } else {
            Reporter reporter = nextLayer.getReporter();
            if(reporter != null) {
                reporter.logIncomingResponse(Reporter.InterceptionType.LAYER, resp, layer.getClass().getSimpleName());
            }
           
            nextLayer.next(resp);
           
            if(reporter != null) {
                reporter.logPostIncomingResponse(Reporter.InterceptionType.LAYER, resp, layer.getClass().getSimpleName(), null);
            }           
        }
    }
View Full Code Here

TOP

Related Classes of com.ericsson.ssa.container.reporter.Reporter

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.