Interface NodeSynchronization
-
- All Known Implementing Classes:
DefaultNodeSynchronization
public interface NodeSynchronization
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSocket(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 Detail
-
addSocket
void addSocket(DefaultWebsocket socket)
Adds the web socket to both (always if present) stores.- Parameters:
socket- the web socket
-
removeSocket
void removeSocket(String id)
Removes the Websocket from both stores- Parameters:
id- id of the web socket
-
removeSocket
void removeSocket(DefaultWebsocket socket)
Removes the Websocket from both stores- Parameters:
socket- web socket to remove
-
-