Package chatModule
Class ChatController
java.lang.Object
chatModule.ChatController
The ChatController class is used for managing chat operations through its APIs.
-
Constructor Summary
ConstructorsConstructorDescriptionChatController(io.vertx.core.Vertx vertx, WebSocketVertx webSocketVertx, GameServiceDecorator gameServiceDecorator) -
Method Summary
Modifier and TypeMethodDescriptionvoidmessageReceived(io.vertx.ext.web.RoutingContext context) voidnotificationReceived(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-
-