Examples of OutboundInterface


Examples of com.commander4j.interfaces.OutboundInterface

    inint.setPollingInterval((long) 1000);
    //Assign INBOUND interface to Map
    map.setInboundInterface(inint);
    //Enable MAP and associated Interfaces
   
    OutboundInterface outint = new OutboundInterface(map);
    outint.setType(IntefaceConnector.Connector_XML);
    outint.setOutputPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"output");

    map.addOutboundInterface(outint);
   
    map.setEnabled(true);
   
View Full Code Here

Examples of com.ericsson.ssa.sip.OutboundInterface

   

        private TargetTuple selectBindInterface(TargetTuple tt,
                SipServletMessageImpl sipServletMessage) {           
            TargetTuple bindTT = null;
            OutboundInterface oi = sipServletMessage.getOutboundInterface();
            if (oi != null){
                bindTT = oi.getTargetTuple();
            }
            if (bindTT != null) {
                /*
                 * Resolve the external address to the corresponding
                 * bind address, note that the external address could be a
View Full Code Here

Examples of com.ericsson.ssa.sip.OutboundInterface

    private TargetTuple selectTTToUse(SipServletRequestImpl msg) {
        // check for the JSR 289 outbound interface in the message
        // if not found use the external address in sip-container
        TargetTuple outtt = null;
       
        OutboundInterface oi = msg.getOutboundInterface();
       
        SipBindingCtx sipBindingCtx = SipBindingResolver.instance().
                getActiveExternalContext();
        for (TargetTuple tt : sipBindingCtx.getTargetTuples()) {
            if (msg.getTransport().equalsIgnoreCase(tt.getProtocol().name())) {
                outtt = tt;
                break;
            }
        }
        if (oi == null) {
            return outtt;
        } else {
            int port = oi.getPort() == 0 ? outtt.getPort() : oi.getPort();
            return new TargetTuple(outtt.getProtocol(), oi.getHost(), port);
        }
    }
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.