com.sun.corba.se.impl.corba.RequestImpl Java Examples

The following examples show how to use com.sun.corba.se.impl.corba.RequestImpl. 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 Project: jdk1.8-source-analysis   Author: raysonfang   File: ORBImpl.java    License: Apache License 2.0 6 votes vote down vote up
/**
 * Send multiple dynamic requests asynchronously.
 *
 * @param req         an array of request objects.
 */
public synchronized void send_multiple_requests_deferred(Request[] req)
{
    checkShutdownState();

    // add the new Requests to pending dynamic Requests
    for (int i = 0; i < req.length; i++) {
        dynamicRequests.addElement(req[i]);
    }

    // Invoke the send_deferred on each new Request
    for (int i = 0; i < req.length; i++) {
        AsynchInvoke invokeObject = new AsynchInvoke( this,
            (com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
        new Thread(invokeObject).start();
    }
}
 
Example #2
Source Project: jdk8u60   Author: chenghanpeng   File: ORBImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Send multiple dynamic requests asynchronously.
 *
 * @param req         an array of request objects.
 */
public synchronized void send_multiple_requests_deferred(Request[] req)
{
    checkShutdownState();

    // add the new Requests to pending dynamic Requests
    for (int i = 0; i < req.length; i++) {
        dynamicRequests.addElement(req[i]);
    }

    // Invoke the send_deferred on each new Request
    for (int i = 0; i < req.length; i++) {
        AsynchInvoke invokeObject = new AsynchInvoke( this,
            (com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
        new Thread(invokeObject).start();
    }
}
 
Example #3
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: ORBImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Send multiple dynamic requests asynchronously.
 *
 * @param req         an array of request objects.
 */
public synchronized void send_multiple_requests_deferred(Request[] req)
{
    checkShutdownState();

    // add the new Requests to pending dynamic Requests
    for (int i = 0; i < req.length; i++) {
        dynamicRequests.addElement(req[i]);
    }

    // Invoke the send_deferred on each new Request
    for (int i = 0; i < req.length; i++) {
        AsynchInvoke invokeObject = new AsynchInvoke( this,
            (com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
        new Thread(null, invokeObject, "ORB-Request-Thread", 0, false).start();
    }
}
 
Example #4
Source Project: hottub   Author: dsrg-uoft   File: ORBImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Send multiple dynamic requests asynchronously.
 *
 * @param req         an array of request objects.
 */
public synchronized void send_multiple_requests_deferred(Request[] req)
{
    checkShutdownState();

    // add the new Requests to pending dynamic Requests
    for (int i = 0; i < req.length; i++) {
        dynamicRequests.addElement(req[i]);
    }

    // Invoke the send_deferred on each new Request
    for (int i = 0; i < req.length; i++) {
        AsynchInvoke invokeObject = new AsynchInvoke( this,
            (com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
        new Thread(invokeObject).start();
    }
}
 
Example #5
Source Project: openjdk-8-source   Author: keerath   File: ORBImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Send multiple dynamic requests asynchronously.
 *
 * @param req         an array of request objects.
 */
public synchronized void send_multiple_requests_deferred(Request[] req)
{
    checkShutdownState();

    // add the new Requests to pending dynamic Requests
    for (int i = 0; i < req.length; i++) {
        dynamicRequests.addElement(req[i]);
    }

    // Invoke the send_deferred on each new Request
    for (int i = 0; i < req.length; i++) {
        AsynchInvoke invokeObject = new AsynchInvoke( this,
            (com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
        new Thread(invokeObject).start();
    }
}
 
Example #6
Source Project: openjdk-8   Author: bpupadhyaya   File: ORBImpl.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Send multiple dynamic requests asynchronously.
 *
 * @param req         an array of request objects.
 */
public synchronized void send_multiple_requests_deferred(Request[] req)
{
    checkShutdownState();

    // add the new Requests to pending dynamic Requests
    for (int i = 0; i < req.length; i++) {
        dynamicRequests.addElement(req[i]);
    }

    // Invoke the send_deferred on each new Request
    for (int i = 0; i < req.length; i++) {
        AsynchInvoke invokeObject = new AsynchInvoke( this,
            (com.sun.corba.se.impl.corba.RequestImpl)req[i], true);
        new Thread(invokeObject).start();
    }
}
 
Example #7
Source Project: jdk1.8-source-analysis   Author: raysonfang   File: CorbaClientDelegateImpl.java    License: Apache License 2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #8
Source Project: jdk1.8-source-analysis   Author: raysonfang   File: CorbaClientDelegateImpl.java    License: Apache License 2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #9
Source Project: jdk1.8-source-analysis   Author: raysonfang   File: CorbaMessageMediatorImpl.java    License: Apache License 2.0 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example #10
Source Project: TencentKona-8   Author: Tencent   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #11
Source Project: TencentKona-8   Author: Tencent   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #12
Source Project: TencentKona-8   Author: Tencent   File: CorbaMessageMediatorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example #13
Source Project: jdk8u60   Author: chenghanpeng   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #14
Source Project: jdk8u60   Author: chenghanpeng   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #15
Source Project: jdk8u60   Author: chenghanpeng   File: CorbaMessageMediatorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example #16
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: CorbaClientDelegateImpl.java    License: MIT License 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #17
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: CorbaClientDelegateImpl.java    License: MIT License 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #18
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: CorbaMessageMediatorImpl.java    License: MIT License 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example #19
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #20
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #21
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: CorbaMessageMediatorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example #22
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #23
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #24
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: CorbaMessageMediatorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example #25
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #26
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #27
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: CorbaMessageMediatorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example #28
Source Project: hottub   Author: dsrg-uoft   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list,
                           result, null, null);
}
 
Example #29
Source Project: hottub   Author: dsrg-uoft   File: CorbaClientDelegateImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public Request create_request(org.omg.CORBA.Object obj,
                              Context ctx,
                              String operation,
                              NVList arg_list,
                              NamedValue result,
                              ExceptionList exclist,
                              ContextList ctxlist)
{
    return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                           exclist, ctxlist);
}
 
Example #30
Source Project: hottub   Author: dsrg-uoft   File: CorbaMessageMediatorImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}