Interface NodeSynchronization
- All Known Implementing Classes:
DefaultNodeSynchronization
public interface NodeSynchronization
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSocket(DefaultWebsocket socket) Adds the web socket to both (always if present) stores.voidremoveSocket(String id) Removes the Websocket from both storesvoidremoveSocket(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
-