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 TypeMethodDescriptionboolean
Gets theWsAuthenticationHandler
assigned to this endpointvoid
handleFrame
(ChannelHandlerContext ctx, WebSocketFrame frame) Handles the WebSocket frame and sends a response back to the client, if necessary Only gets called if theWsAuthenticationHandler
returnedtrue
int
hashCode()
register()
Registers thisWsFrameHandler
with theWebSocketFrameHandler
-
Constructor Details
-
WsPanelRemoteLoginHandler
public WsPanelRemoteLoginHandler()
-
-
Method Details
-
register
Description copied from interface:WsFrameHandler
Registers thisWsFrameHandler
with theWebSocketFrameHandler
- Specified by:
register
in interfaceWsFrameHandler
- Returns:
-
getAuthHandler
Description copied from interface:WsFrameHandler
Gets theWsAuthenticationHandler
assigned to this endpoint- Specified by:
getAuthHandler
in interfaceWsFrameHandler
- Returns:
- An
WsAuthenticationHandler
-
handleFrame
Description copied from interface:WsFrameHandler
Handles the WebSocket frame and sends a response back to the client, if necessary Only gets called if theWsAuthenticationHandler
returnedtrue
- Specified by:
handleFrame
in interfaceWsFrameHandler
- Parameters:
ctx
- TheChannelHandlerContext
of the sessionframe
- TheWebSocketFrame
to process
-
hashCode
public int hashCode() -
equals
-