Interface AgentProtocol.Listener

Enclosing class:
AgentProtocol

static interface AgentProtocol.Listener
Lifecycle callbacks of one connection; never invoked while this protocol's lock is held.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    The established connection closed; its channel no longer sends.
    default void
     
  • Method Details

    • established

      default void established(CloudChannel channel)
      Parameters:
      channel - the live channel of the just-established connection
    • closed

      default void closed()
      The established connection closed; its channel no longer sends.