@Override public Command rpc(Method method) throws IOException { return channel.rpc(method); }
@Override public CompletableFuture<Command> asyncCompletableRpc( Method method) throws IOException { return channel.asyncCompletableRpc(method); }
/** * Synchronously send a method over this channel. * @param method method to transmit over this channel. * @return command response to method. Caller should cast as appropriate. * @throws IOException Problem transmitting method. */ Command rpc(Method method) throws IOException;