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 SummaryModifier 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.
- 
Method Details- 
handleConfigUpdateHandle an update to theControllerConfigurationMessage- Parameters:
- config- the new configuration
 
- 
handlePutHandle the addition of a query.- Parameters:
- value- the- PersistentQueryInfoMessageof the query
 
- 
handleModifyvoid 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
 
- 
handleRemoveHandle the removal of a query.- Parameters:
- removedValue- the serial of the removed query
 
- 
handleConnectionLostvoid handleConnectionLost()Handle when the connection to the Controller has been lost.
- 
handleConnectionEstablishedvoid handleConnectionEstablished()Handle when the connection to the Controller has been established, or re-establisehd after adisconnection.
 
-