Interface RestateServerCallListener<M>

  • Type Parameters:
    M - type of the incoming message

    public interface RestateServerCallListener<M>
    Interface to invoke generated service code.

    This interface is strongly inspired by ServerCall.Listener.

    • Method Detail

      • invoke

        void invoke​(M message)
        Invoke the service code.
      • cancel

        void cancel()
        Send cancel signal to service code.
      • close

        void close()
        Close the service code.
      • listenerReady

        void listenerReady()
        Set the underlying listener as ready.