boolean isConnectionOpen(Object eventOrSessionContext)
boolean isConnectionOpen(Object eventOrSessionContext)
Name | Type | Description |
---|---|---|
eventOrSessionContext | Object | Accepts a SimpleEvent associated to WebSocket destination or the underlying websocket endpoint context retreived via getSessionContext api. |
Type | Description |
---|---|
boolean | Returns if the underlying websocket endpoint connection is open |