| Constructor and Description |
|---|
TomcatHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(org.springframework.web.socket.WebSocketSession session)
关闭连接
|
protected Object[] |
getParameters(Map<String,Object> attributes)
连接参数
|
protected String |
handleTextMessage(Map<String,Object> attributes,
ProxySession proxySession,
com.alibaba.fastjson.JSONObject json,
ConsoleCommandOp consoleCommandOp)
消息处理方法
|
protected String |
handleTextMessage(Map<String,Object> attributes,
org.springframework.web.socket.WebSocketSession session,
com.alibaba.fastjson.JSONObject json,
ConsoleCommandOp consoleCommandOp)
消息处理方法
|
afterConnectionEstablishedImpl, handleTextMessage, initafterConnectionClosed, afterConnectionEstablished, handleTransportError, logOpt, sendMsg, showHelloMsghandleBinaryMessageprotected Object[] getParameters(Map<String,Object> attributes)
BaseProxyHandlergetParameters in class BaseProxyHandlerattributes - 属性protected String handleTextMessage(Map<String,Object> attributes, org.springframework.web.socket.WebSocketSession session, com.alibaba.fastjson.JSONObject json, ConsoleCommandOp consoleCommandOp) throws IOException
BaseProxyHandlerhandleTextMessage in class BaseProxyHandlerattributes - 属性session - 当前回话json - 数据consoleCommandOp - 操作类型IOExceptionprotected String handleTextMessage(Map<String,Object> attributes, ProxySession proxySession, com.alibaba.fastjson.JSONObject json, ConsoleCommandOp consoleCommandOp)
BaseProxyHandlerhandleTextMessage in class BaseProxyHandlerattributes - 属性proxySession - 代理回话json - 数据consoleCommandOp - 操作类型public void destroy(org.springframework.web.socket.WebSocketSession session)
BaseHandlerdestroy in class BaseProxyHandlersession - sessionCopyright © 2017–2022. All rights reserved.