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 TypeMethodDescriptionvoidHandle 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.voidHandle the addition of a query.voidhandleRemove(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- thePersistentQueryInfoMessageof 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.
-