|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role public interface NetworkAdapter
Handle all the actual communication with the network.
It's the entry point of the chosen implementation for the actual event distribution.
| Method Summary | |
|---|---|
void |
send(RemoteEventData remoteEvent)
Send serializable event to the network depending of the implementation. |
void |
startChannel(String channelId)
Start a channel. |
void |
stopAllChannels()
Stop all running channels. |
void |
stopChannel(String channelId)
Stop a running channel. |
| Method Detail |
|---|
void send(RemoteEventData remoteEvent)
remoteEvent - the serializable event to send
void stopChannel(String channelId)
throws RemoteEventException
channelId - the identifier of the channel to stop
RemoteEventException - error when trying to stop a running channel
void startChannel(String channelId)
throws RemoteEventException
channelId - the identifier of the channel to start
RemoteEventException - error when trying to start a channel
void stopAllChannels()
throws RemoteEventException
RemoteEventException - error when trying to stop a running channel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||