Class WebsocketGatewaySessionHandler
- java.lang.Object
-
- io.scalecube.services.testservice.WebsocketGatewaySessionHandler
-
- All Implemented Interfaces:
GatewaySessionHandler<GatewayMessage>
public class WebsocketGatewaySessionHandler extends Object implements GatewaySessionHandler<GatewayMessage>
-
-
Field Summary
-
Fields inherited from interface io.scalecube.services.gateway.GatewaySessionHandler
DEFAULT_RS_INSTANCE, DEFAULT_WS_INSTANCE
-
-
Constructor Summary
Constructors Constructor Description WebsocketGatewaySessionHandler(AuthRegistry authRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayMessagemapMessage(GatewaySession session, GatewayMessage message, reactor.util.context.Context context)reactor.util.context.ContextonRequest(GatewaySession session, io.netty.buffer.ByteBuf byteBuf, reactor.util.context.Context context)voidonSessionClose(GatewaySession session)voidonSessionOpen(GatewaySession s)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.scalecube.services.gateway.GatewaySessionHandler
onConnectionOpen, onError, onResponse, onSessionError
-
-
-
-
Constructor Detail
-
WebsocketGatewaySessionHandler
public WebsocketGatewaySessionHandler(AuthRegistry authRegistry)
-
-
Method Detail
-
onRequest
public reactor.util.context.Context onRequest(GatewaySession session, io.netty.buffer.ByteBuf byteBuf, reactor.util.context.Context context)
- Specified by:
onRequestin interfaceGatewaySessionHandler<GatewayMessage>
-
mapMessage
public GatewayMessage mapMessage(GatewaySession session, GatewayMessage message, reactor.util.context.Context context)
- Specified by:
mapMessagein interfaceGatewaySessionHandler<GatewayMessage>
-
onSessionOpen
public void onSessionOpen(GatewaySession s)
- Specified by:
onSessionOpenin interfaceGatewaySessionHandler<GatewayMessage>
-
onSessionClose
public void onSessionClose(GatewaySession session)
- Specified by:
onSessionClosein interfaceGatewaySessionHandler<GatewayMessage>
-
-