public interface SelfHealingProxy
Modifier and Type | Method and Description |
---|---|
void |
addNewEvent(RemoteException event)
Allow to record when something important about the remote state is detected.
|
void |
onEvent(List<RemoteException> events,
RemoteException lastInserted)
Allow to process the list of all the events that were detected on this Remote so far.
|
void |
startPolling()
start/restart the polling for the remote proxy.
|
void |
stopPolling()
put the polling on hold.
|
void startPolling()
void stopPolling()
void addNewEvent(RemoteException event)
event
- RemoteException event to be called when something happensvoid onEvent(List<RemoteException> events, RemoteException lastInserted)
events
- list of RemoteExceptions occurredlastInserted
- last event that occurredCopyright © 2015. All rights reserved.