Constructor and Description |
---|
DockerCliHandler() |
Modifier and Type | Method and Description |
---|---|
void |
afterConnectionEstablishedImpl(org.springframework.web.socket.WebSocketSession session)
建立会话后
|
void |
destroy(org.springframework.web.socket.WebSocketSession session)
关闭连接
|
protected void |
handleTextMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.TextMessage message) |
sendBinary
afterConnectionClosed, afterConnectionEstablished, handleTransportError, logOpt, sendMsg, showHelloMsg
handleBinaryMessage
public void afterConnectionEstablishedImpl(org.springframework.web.socket.WebSocketSession session) throws Exception
BaseHandler
afterConnectionEstablishedImpl
in class BaseHandler
session
- 会话Exception
- 异常protected void handleTextMessage(org.springframework.web.socket.WebSocketSession session, org.springframework.web.socket.TextMessage message) throws Exception
handleTextMessage
in class org.springframework.web.socket.handler.AbstractWebSocketHandler
Exception
public void destroy(org.springframework.web.socket.WebSocketSession session)
BaseHandler
destroy
in class BaseHandler
session
- sessionCopyright © 2017–2022. All rights reserved.