code: public void invoke(IServiceCall call, int channel) {
          // We need to use Invoke for all calls to the client
          Invoke invoke = new Invoke();
          invoke.setCall(call);
          invoke.setTransactionId(getTransactionId());
          if (call instanceof IPendingServiceCall) {
              registerPendingCall(invoke.getTransactionId(), (IPendingServiceCall) call);
          }
          getChannel(channel).write(invoke);
      }
docs: {@inheritDoc}