Class RSocketGatewaySessionHandler
- java.lang.Object
-
- io.scalecube.services.testservice.RSocketGatewaySessionHandler
-
- All Implemented Interfaces:
GatewaySessionHandler<io.scalecube.services.api.ServiceMessage>
public class RSocketGatewaySessionHandler extends Object implements GatewaySessionHandler<io.scalecube.services.api.ServiceMessage>
-
-
Field Summary
-
Fields inherited from interface io.scalecube.services.gateway.GatewaySessionHandler
DEFAULT_RS_INSTANCE, DEFAULT_WS_INSTANCE
-
-
Constructor Summary
Constructors Constructor Description RSocketGatewaySessionHandler(AuthRegistry authRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.scalecube.services.api.ServiceMessagemapMessage(GatewaySession session, io.scalecube.services.api.ServiceMessage 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
-
RSocketGatewaySessionHandler
public RSocketGatewaySessionHandler(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<io.scalecube.services.api.ServiceMessage>
-
mapMessage
public io.scalecube.services.api.ServiceMessage mapMessage(GatewaySession session, io.scalecube.services.api.ServiceMessage message, reactor.util.context.Context context)
- Specified by:
mapMessagein interfaceGatewaySessionHandler<io.scalecube.services.api.ServiceMessage>
-
onSessionOpen
public void onSessionOpen(GatewaySession s)
- Specified by:
onSessionOpenin interfaceGatewaySessionHandler<io.scalecube.services.api.ServiceMessage>
-
onSessionClose
public void onSessionClose(GatewaySession session)
- Specified by:
onSessionClosein interfaceGatewaySessionHandler<io.scalecube.services.api.ServiceMessage>
-
-