Interface PersistentQueryControllerClient.Observer

All Known Implementing Classes:
PersistentQueryControllerClient.ObserverImpl
Enclosing interface:
PersistentQueryControllerClient

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

    • handleConfigUpdate

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

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

      void handleModify(@NotNull @NotNull PersistentQueryInfoMessage previous, @NotNull @NotNull PersistentQueryInfoMessage newValue)
      Handle a change to an existing query.
      Parameters:
      previous - the previous value
      newValue - the new value
    • handleRemove

      void handleRemove(@NotNull @NotNull PersistentQueryInfoMessage removedValue)
      Handle the removal of a query.
      Parameters:
      removedValue - the serial of the removed 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.