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 TypeMethodDescriptionvoid
handleConfigUpdate
(@NotNull ControllerConfigurationMessage config) Handle an update to theControllerConfigurationMessage
void
Handle when the connection to the Controller has been established, or re-establisehd after adisconnection
.void
Handle when the connection to the Controller has been lost.void
handleModify
(@NotNull PersistentQueryInfoMessage previous, @NotNull PersistentQueryInfoMessage newValue) Handle a change to an existing query.void
handlePut
(@NotNull PersistentQueryInfoMessage value) Handle the addition of a query.void
handleRemove
(@NotNull PersistentQueryInfoMessage removedValue) Handle the removal of a query.
-
Constructor Details
-
ObserverImpl
public ObserverImpl()
-
-
Method Details
-
handleConfigUpdate
Description copied from interface:PersistentQueryControllerClient.Observer
Handle an update to theControllerConfigurationMessage
- Specified by:
handleConfigUpdate
in interfacePersistentQueryControllerClient.Observer
- Parameters:
config
- the new configuration
-
handlePut
Description copied from interface:PersistentQueryControllerClient.Observer
Handle the addition of a query.- Specified by:
handlePut
in interfacePersistentQueryControllerClient.Observer
- Parameters:
value
- thePersistentQueryInfoMessage
of the query
-
handleModify
public void handleModify(@NotNull @NotNull PersistentQueryInfoMessage previous, @NotNull @NotNull PersistentQueryInfoMessage newValue) Description copied from interface:PersistentQueryControllerClient.Observer
Handle a change to an existing query.- Specified by:
handleModify
in interfacePersistentQueryControllerClient.Observer
- Parameters:
previous
- the previous valuenewValue
- the new value
-
handleRemove
Description copied from interface:PersistentQueryControllerClient.Observer
Handle the removal of a query.- Specified by:
handleRemove
in interfacePersistentQueryControllerClient.Observer
- Parameters:
removedValue
- the serial of the removed query
-
handleConnectionLost
public void handleConnectionLost()Description copied from interface:PersistentQueryControllerClient.Observer
Handle when the connection to the Controller has been lost.- Specified by:
handleConnectionLost
in interfacePersistentQueryControllerClient.Observer
-
handleConnectionEstablished
public void handleConnectionEstablished()Description copied from interface:PersistentQueryControllerClient.Observer
Handle when the connection to the Controller has been established, or re-establisehd after adisconnection
.- Specified by:
handleConnectionEstablished
in interfacePersistentQueryControllerClient.Observer
-