Package org.apache.geronimo.messaging

Examples of org.apache.geronimo.messaging.Request


        } else if ( null == targets ) {
            throw new IllegalStateException("No target nodes is defined");
        }
        try {
            Object opaque = sender.sendSyncRequest(
                new Request(arg1.getName(), arg1.getParameterTypes(), arg2),
                    transformer, id, targets);
            return opaque;
        } catch (RuntimeException e) {
            Throwable nested = e.getCause();
            if ( null == nested ) {
View Full Code Here


    protected byte[] retrieveNext(Object anID) throws IOException {
        ID streamID = (ID) anID;
        byte[] result = (byte[])
            sender.sendSyncRequest(
                new Request("retrieveLocalNext", new Class[] {Object.class},
                    new Object[] {anID}),
                out, StreamManager.NAME, streamID.hostingNode);
        return result;
    }
View Full Code Here

        }
        public void push(Msg aMsg) {
            if ( null == out ) {
                throw new IllegalStateException("No Msg out is defined");
            }
            Request request =
                new Request("invoke", new Class[] {int.class, Request.class},
                    new Object[] {refID, aMsg.getBody().getContent()});
            aMsg.getBody().setContent(request);
            out.push(aMsg);
        }
View Full Code Here

        }
        public void push(Msg aMsg) {
            if ( null == out ) {
                throw new IllegalStateException("No Msg out is defined");
            }
            Request request =
                new Request("invoke", new Class[] {int.class, Request.class},
                    new Object[] {refID, aMsg.getBody().getContent()});
            aMsg.getBody().setContent(request);
            out.push(aMsg);
        }
View Full Code Here

        } else if ( null == targets ) {
            throw new IllegalStateException("No target nodes is defined");
        }
        try {
            Object opaque = sender.sendSyncRequest(
                new Request(arg1.getName(), arg1.getParameterTypes(), arg2),
                    transformer, id, targets);
            return opaque;
        } catch (RuntimeException e) {
            Throwable nested = e.getCause();
            if ( null == nested ) {
View Full Code Here

    protected byte[] retrieveNext(Object anID) throws IOException {
        ID streamID = (ID) anID;
        byte[] result = (byte[])
            sender.sendSyncRequest(
                new Request("retrieveLocalNext", new Class[] {Object.class},
                    new Object[] {anID}),
                out, StreamManager.NAME, streamID.hostingNode);
        return result;
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.messaging.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.