Interface NodeSynchronization
- All Known Implementing Classes:
DefaultNodeSynchronization
public interface NodeSynchronization
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSocket
(DefaultWebsocket socket) Adds the web socket to both (always if present) stores.void
removeSocket
(String id) Removes the Websocket from both storesvoid
removeSocket
(DefaultWebsocket socket) Removes the Websocket from both stores
-
Method Details
-
addSocket
Adds the web socket to both (always if present) stores.- Parameters:
socket
- the web socket
-
removeSocket
Removes the Websocket from both stores- Parameters:
id
- id of the web socket
-
removeSocket
Removes the Websocket from both stores- Parameters:
socket
- web socket to remove
-