Interface ControllerClientGrpc.Observer

All Known Implementing Classes:
ControllerClientGrpc.ObserverImpl
Enclosing class:
ControllerClientGrpc

public static interface ControllerClientGrpc.Observer
An object that will be notified of changes to the state of the Controller.
  • Method Details

    • handleConfigUpdate

      void handleConfigUpdate(@NotNull ControllerConfigurationMessage config)
      Handle an update to the ControllerConfigurationMessage
      Parameters:
      config - the new configuration
    • handleRemove

      void handleRemove(long querySerial)
      Handle the removal of a query.
      Parameters:
      querySerial - the serial of the removed query
    • handlePut

      void handlePut(@NotNull PersistentQueryInfoMessage value)
      Handle the addition of a query.
      Parameters:
      value - the PersistentQueryInfoMessage of the query
    • handleConnectionLost

      void handleConnectionLost()
      Handle when the connection to the Controller has been lost.
    • handleConnectionEstablished

      void handleConnectionEstablished()
      Handle when the connection to the Controller has been established, or re-establisehd after a disconnection.