com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage Java Examples

The following examples show how to use com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #2
Source File: CorbaMessageMediatorImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #3
Source File: CorbaMessageMediatorImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #4
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #5
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #6
Source File: CorbaMessageMediatorImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #7
Source File: CorbaMessageMediatorImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #8
Source File: CorbaMessageMediatorImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #9
Source File: CorbaMessageMediatorImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #10
Source File: CorbaMessageMediatorImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #11
Source File: CorbaMessageMediatorImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #12
Source File: CorbaMessageMediatorImpl.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #13
Source File: CorbaMessageMediatorImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #14
Source File: CorbaMessageMediatorImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #15
Source File: CorbaMessageMediatorImpl.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #16
Source File: CorbaMessageMediatorImpl.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #17
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #18
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #19
Source File: CorbaMessageMediatorImpl.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
public void handleInput(RequestMessage_1_1 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.1->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
            connection.serverRequest_1_1_Put(this);
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.1: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.1<-: " + header);
    }
}
 
Example #20
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
public void handleInput(RequestMessage_1_0 header) throws IOException
{
    try {
        if (transportDebug()) dprint(".REQUEST 1.0->: " + header);
        try {
            messageHeader = requestHeader = (RequestMessage) header;
            setInputObject();
        } finally {
            setWorkThenPoolOrResumeSelect(header);
        }
        getProtocolHandler().handleRequest(header, this);
    } catch (Throwable t) {
        if (transportDebug())
            dprint(".REQUEST 1.0: !!ERROR!!: " + header, t);
        // Mask the exception from thread.;
    } finally {
        if (transportDebug()) dprint(".REQUEST 1.0<-: " + header);
    }
}
 
Example #21
Source File: CorbaMessageMediatorImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #22
Source File: CorbaMessageMediatorImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #23
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #24
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #25
Source File: CorbaMessageMediatorImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #26
Source File: CorbaMessageMediatorImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #27
Source File: CorbaMessageMediatorImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #28
Source File: CorbaMessageMediatorImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #29
Source File: CorbaMessageMediatorImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}
 
Example #30
Source File: CorbaMessageMediatorImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public CorbaMessageMediatorImpl(ORB orb,
                                ContactInfo contactInfo,
                                Connection connection,
                                GIOPVersion giopVersion,
                                IOR ior,
                                int requestId,
                                short addrDisposition,
                                String operationName,
                                boolean isOneWay)
{
    this( orb, connection ) ;

    this.contactInfo = (CorbaContactInfo) contactInfo;
    this.addrDisposition = addrDisposition;

    streamFormatVersion =
        getStreamFormatVersionForThisRequest(
            ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
            giopVersion);
    streamFormatVersionSet = true;

    requestHeader = (RequestMessage) MessageBase.createRequest(
        this.orb,
        giopVersion,
        ORBUtility.getEncodingVersion(orb, ior),
        requestId,
        !isOneWay,
        ((CorbaContactInfo)this.contactInfo).getEffectiveTargetIOR(),
        this.addrDisposition,
        operationName,
        new ServiceContexts(orb),
        null);
}