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 Summary
Modifier and TypeMethodDescriptionvoid
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
Handle the addition of a query.void
handleRemove
(long querySerial) Handle the removal of a query.
-
Method Details
-
handleConfigUpdate
Handle an update to theControllerConfigurationMessage
- 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
Handle the addition of a query.- Parameters:
value
- thePersistentQueryInfoMessage
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 adisconnection
.
-