Package org.exolab.jms.net.connector

Examples of org.exolab.jms.net.connector.Request


        public void invoke(final Invocation invocation) {
            Runnable invoker = new Runnable() {
                public void run() {
                    Response response;
                    try {
                        Request request = invocation.getRequest();
                        Caller caller = invocation.getCaller();
                        response = invoke(request, caller);
                    } catch (Throwable exception) {
                        response = new Response(exception);
                    }
View Full Code Here


     *
     * @return the request
     * @throws IOException if the request can't be read
     */
    public synchronized Request readRequest() throws IOException {
        Request request;
        ObjectInputStream in = new ObjectInputStream(_in);
        request = Request.read(in);
        return request;
    }
View Full Code Here

     * @return the result of the invocation
     * @throws Throwable for any error
     */
    public Object invoke(Method method, Object[] args, long methodID)
            throws Throwable {
        Request request = new Request(_objID, method, args, methodID);
        Response response = getConnection().invoke(request);
        if (response.isException()) {
            throw response.getException();
        }
        return response.getObject();
View Full Code Here

TOP

Related Classes of org.exolab.jms.net.connector.Request

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.