Package chatModule
Class ChatController
java.lang.Object
chatModule.ChatController
The ChatController class is used for managing chat operations through its APIs.
-
Constructor Summary
ConstructorDescriptionChatController
(io.vertx.core.Vertx vertx, WebSocketVertx webSocketVertx, GameServiceDecorator gameServiceDecorator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
messageReceived
(io.vertx.ext.web.RoutingContext context) void
notificationReceived
(io.vertx.ext.web.RoutingContext context)
-
Constructor Details
-
ChatController
public ChatController(io.vertx.core.Vertx vertx, WebSocketVertx webSocketVertx, GameServiceDecorator gameServiceDecorator)
-
-
Method Details
-
messageReceived
public void messageReceived(io.vertx.ext.web.RoutingContext context) - Parameters:
context
-
-
notificationReceived
public void notificationReceived(io.vertx.ext.web.RoutingContext context) - Parameters:
context
-
-