Interface ServerTransportListener


public interface ServerTransportListener
A observer of a server-side transport for stream creation events. Notifications must occur from the transport thread.
  • Method Details

    • streamCreated

      void streamCreated(ServerStream stream, String method, Metadata headers)
      Called when a new stream was created by the remote client.
      Parameters:
      stream - the newly created stream.
      method - the fully qualified method name being called on the server.
      headers - containing metadata for the call.
    • transportReady

      Attributes transportReady(Attributes attributes)
      The transport has finished all handshakes and is ready to process streams.
      Parameters:
      attributes - transport attributes
      Returns:
      the effective transport attributes that is used as the basis of call attributes
    • transportTerminated

      void transportTerminated()
      The transport completed shutting down. All resources have been released.