public class SynchronizedWebSocketSessionWrapper extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedWebSocketSessionWrapper(org.springframework.web.socket.WebSocketSession session)
Instantiates a new Synchronized web socket session wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.springframework.web.socket.CloseStatus closeStatus)
Close.
|
boolean |
isOpen()
Is open boolean.
|
void |
sendMessage(org.springframework.web.socket.WebSocketMessage<?> message)
Send message.
|
protected void |
setSession(org.springframework.web.socket.WebSocketSession session)
Sets session.
|
protected SynchronizedWebSocketSessionWrapper(org.springframework.web.socket.WebSocketSession session)
session - the sessionprotected void setSession(org.springframework.web.socket.WebSocketSession session)
session - the sessionpublic boolean isOpen()
public void close(org.springframework.web.socket.CloseStatus closeStatus)
throws IOException
closeStatus - the close statusIOException - the io exceptionpublic void sendMessage(org.springframework.web.socket.WebSocketMessage<?> message)
throws IOException
message - the messageIOException - the io exceptionCopyright © 2019 Fraunhofer IPA. All rights reserved.