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

The following examples show how to use com.sun.corba.se.impl.corba.RequestImpl. These examples are extracted from open source projects. 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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
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
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
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example 10
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
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
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example 13
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
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
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example 16
Source Project: JDKSourceCode1.8   Source 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   Source 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   Source 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
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
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
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example 22
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
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
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example 25
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
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
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}
 
Example 28
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
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
public void handleDIIReply(InputStream inputStream)
{
    if (! isDIIRequest()) {
        return;
    }
    ((RequestImpl)diiRequest).unmarshalReply(inputStream);
}