Package ca.evanjones.protorpc.Protocol

Examples of ca.evanjones.protorpc.Protocol.RpcResponse


                break;
            }

            // Set the appropriate flags on the RPC object
            // TODO: Handle bad sequence number by ignoring/logging?
            RpcResponse response = builder.build();
            ProtoRpcController rpc = null;
            synchronized (this) {
                rpc = pendingRpcs.remove(response.getSequenceNumber());
                assert response.getStatus() == Protocol.Status.OK;
                assert rpc != null :
                        "No ProtoRpcController for Sequence# " + response.getSequenceNumber();
            }
            rpc.finishRpcSuccess(response.getResponse());
        }
    }
View Full Code Here

TOP

Related Classes of ca.evanjones.protorpc.Protocol.RpcResponse

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.