org.apache.camel.component.websocket
Interface NodeSynchronization

All Known Implementing Classes:
DefaultNodeSynchronization

public interface NodeSynchronization


Method Summary
 void addSocket(DefaultWebsocket socket)
          Adds the web socket to both (always if present) stores.
 void removeSocket(DefaultWebsocket socket)
          Removes the Websocket from both stores
 void removeSocket(String id)
          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


Apache Camel