Example #1
0
 public <SEND extends MessageLite, RECEIVE extends MessageLite> void sendUnsafe(
     RpcOutcomeListener<RECEIVE> outcomeListener,
     RpcType rpcType,
     SEND protobufBody,
     Class<RECEIVE> clazz,
     ByteBuf... dataBodies) {
   bus.send(outcomeListener, this, rpcType, protobufBody, clazz, true, dataBodies);
 }
Example #2
0
 public <SEND extends MessageLite, RECEIVE extends MessageLite> void send(
     RpcOutcomeListener<RECEIVE> listener,
     C connection,
     T rpcType,
     SEND protobufBody,
     Class<RECEIVE> clazz,
     ByteBuf... dataBodies) {
   send(listener, connection, rpcType, protobufBody, clazz, false, dataBodies);
 }