Package tv.phantombot.panel
Class WsPanelRemoteLoginHandler
java.lang.Object
tv.phantombot.panel.WsPanelRemoteLoginHandler
- All Implemented Interfaces:
WsFrameHandler
- Author:
- gmt2001
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets theWsAuthenticationHandlerassigned to this endpointvoidhandleFrame(ChannelHandlerContext ctx, WebSocketFrame frame) Handles the WebSocket frame and sends a response back to the client, if necessary Only gets called if theWsAuthenticationHandlerreturnedtrueinthashCode()register()Registers thisWsFrameHandlerwith theWebSocketFrameHandler
-
Constructor Details
-
WsPanelRemoteLoginHandler
public WsPanelRemoteLoginHandler()
-
-
Method Details
-
register
Description copied from interface:WsFrameHandlerRegisters thisWsFrameHandlerwith theWebSocketFrameHandler- Specified by:
registerin interfaceWsFrameHandler- Returns:
-
getAuthHandler
Description copied from interface:WsFrameHandlerGets theWsAuthenticationHandlerassigned to this endpoint- Specified by:
getAuthHandlerin interfaceWsFrameHandler- Returns:
- An
WsAuthenticationHandler
-
handleFrame
Description copied from interface:WsFrameHandlerHandles the WebSocket frame and sends a response back to the client, if necessary Only gets called if theWsAuthenticationHandlerreturnedtrue- Specified by:
handleFramein interfaceWsFrameHandler- Parameters:
ctx- TheChannelHandlerContextof the sessionframe- TheWebSocketFrameto process
-
hashCode
public int hashCode() -
equals
-