@Feature(cls=SSH_TERMINAL, method=EXECUTE) public class SshHandler extends BaseTerminalHandler
| Constructor and Description |
|---|
SshHandler() |
| 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) |
sendBinaryafterConnectionClosed, afterConnectionEstablished, handleTransportError, logOpt, sendMsg, showHelloMsghandleBinaryMessagepublic void afterConnectionEstablishedImpl(org.springframework.web.socket.WebSocketSession session)
throws Exception
BaseHandlerafterConnectionEstablishedImpl in class BaseHandlersession - 会话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.AbstractWebSocketHandlerExceptionpublic void destroy(org.springframework.web.socket.WebSocketSession session)
BaseHandlerdestroy in class BaseHandlersession - sessionCopyright © 2017–2022. All rights reserved.