Class PersistentQueryControllerClient.ObserverImpl
java.lang.Object
io.deephaven.enterprise.dnd.controller.PersistentQueryControllerClient.ObserverImpl
- All Implemented Interfaces:
PersistentQueryControllerClient.Observer
- Enclosing interface:
- PersistentQueryControllerClient
public static class PersistentQueryControllerClient.ObserverImpl
extends Object
implements PersistentQueryControllerClient.Observer
A basic
PersistentQueryControllerClient.Observer implementation with do-nothing methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleConfigUpdate(@NotNull ControllerConfigurationMessage config) Handle an update to theControllerConfigurationMessagevoidHandle when the connection to the Controller has been established, or re-establisehd after adisconnection.voidHandle when the connection to the Controller has been lost.voidhandleModify(@NotNull PersistentQueryInfoMessage previous, @NotNull PersistentQueryInfoMessage newValue) Handle a change to an existing query.voidhandlePut(@NotNull PersistentQueryInfoMessage value) Handle the addition of a query.voidhandleRemove(@NotNull PersistentQueryInfoMessage removedValue) Handle the removal of a query.
-
Constructor Details
-
ObserverImpl
public ObserverImpl()
-
-
Method Details
-
handleConfigUpdate
Description copied from interface:PersistentQueryControllerClient.ObserverHandle an update to theControllerConfigurationMessage- Specified by:
handleConfigUpdatein interfacePersistentQueryControllerClient.Observer- Parameters:
config- the new configuration
-
handlePut
Description copied from interface:PersistentQueryControllerClient.ObserverHandle the addition of a query.- Specified by:
handlePutin interfacePersistentQueryControllerClient.Observer- Parameters:
value- thePersistentQueryInfoMessageof the query
-
handleModify
public void handleModify(@NotNull @NotNull PersistentQueryInfoMessage previous, @NotNull @NotNull PersistentQueryInfoMessage newValue) Description copied from interface:PersistentQueryControllerClient.ObserverHandle a change to an existing query.- Specified by:
handleModifyin interfacePersistentQueryControllerClient.Observer- Parameters:
previous- the previous valuenewValue- the new value
-
handleRemove
Description copied from interface:PersistentQueryControllerClient.ObserverHandle the removal of a query.- Specified by:
handleRemovein interfacePersistentQueryControllerClient.Observer- Parameters:
removedValue- the serial of the removed query
-
handleConnectionLost
public void handleConnectionLost()Description copied from interface:PersistentQueryControllerClient.ObserverHandle when the connection to the Controller has been lost.- Specified by:
handleConnectionLostin interfacePersistentQueryControllerClient.Observer
-
handleConnectionEstablished
public void handleConnectionEstablished()Description copied from interface:PersistentQueryControllerClient.ObserverHandle when the connection to the Controller has been established, or re-establisehd after adisconnection.- Specified by:
handleConnectionEstablishedin interfacePersistentQueryControllerClient.Observer
-