Package io.fria.lilo.subscription
Class SubscriptionGatewayHandler
- java.lang.Object
-
- io.fria.lilo.subscription.SubscriptionGatewayHandler
-
public class SubscriptionGatewayHandler extends Object
SubscriptionGatewayHandler manages websocket communication and handles the interaction between Lilo itself.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionGatewayHandler(@NotNull Lilo lilo)Constructs a handler instance using lilo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleMessage(@Nullable WebSocketSessionWrapper session, @NotNull String message)voidhandleSessionClose(@Nullable WebSocketSessionWrapper session)
-
-
-
Constructor Detail
-
SubscriptionGatewayHandler
public SubscriptionGatewayHandler(@NotNull @NotNull Lilo lilo)Constructs a handler instance using lilo- Parameters:
lilo- global lilo instance
-
-
Method Detail
-
handleMessage
public void handleMessage(@Nullable @Nullable WebSocketSessionWrapper session, @NotNull @NotNull String message)
-
handleSessionClose
public void handleSessionClose(@Nullable @Nullable WebSocketSessionWrapper session)
-
-