@Role
public interface RemoteObservationManager
| Modifier and Type | Method and Description |
|---|---|
void |
notify(LocalEventData event)
Send a event in the different network channels.
|
void |
notify(RemoteEventData event)
Inject a remote event in the local
ObservationManager. |
void |
startChannel(String channelId)
Start a channel.
|
void |
stopChannel(String channelId)
Stop a running channel.
|
void notify(LocalEventData event)
This method is not supposed to be used directly for a new event unless the user specifically want to bypass or
emulate ObservationManager.
event - the eventvoid notify(RemoteEventData event)
ObservationManager.
This method is not supposed to be used directly for a new event unless the user specifically want to bypass or emulate network.
event - the eventvoid stopChannel(String channelId) throws RemoteEventException
channelId - the identifier of the channel to stopRemoteEventException - error when trying to stop a running channelvoid startChannel(String channelId) throws RemoteEventException
channelId - the identifier of the channel to startRemoteEventException - error when trying to start a channelCopyright © 2004–2018 XWiki. All rights reserved.