Package com.enonic.xp.portal.websocket

## Interface WebSocketManager

-     public interface WebSocketManager

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addToGroup​(String group, String id)` |
    `long` | `getGroupSize​(String group)` |
    `void` | `removeFromGroup​(String group, String id)` |
    `void` | `send​(String id, String message)` |
    `void` | `sendToGroup​(String group, String message)` |

- - ### Method Detail

    - #### send

          void send​(String id,
                    String message)

    - #### sendToGroup

          void sendToGroup​(String group,
                           String message)

    - #### getGroupSize

          long getGroupSize​(String group)

    - #### addToGroup

          void addToGroup​(String group,
                          String id)

    - #### removeFromGroup

          void removeFromGroup​(String group,
                               String id)