@Override public <C, R> void send(Member destination, CommandMessage<C> command, CommandCallback<? super C, R> callback) throws Exception { callbackRepository.store(command.getIdentifier(), new CommandCallbackWrapper<>(destination, command, callback)); channel.send(resolveAddress(destination), new JGroupsDispatchMessage(command, serializer, true)); }
@Override public <C, R> void send(Member destination, CommandMessage<C> command, CommandCallback<? super C, R> callback) throws Exception { callbackRepository.store(command.getIdentifier(), new CommandCallbackWrapper<>(destination, command, callback)); channel.send(resolveAddress(destination), new JGroupsDispatchMessage(command, serializer, true)); }