Class ExitResponse
- java.lang.Object
-
- pro.gravit.launchserver.socket.response.SimpleResponse
-
- pro.gravit.launchserver.socket.response.auth.ExitResponse
-
- All Implemented Interfaces:
pro.gravit.launcher.request.websockets.WebSocketRequest,WebSocketServerResponse,pro.gravit.utils.TypeSerializeInterface
public class ExitResponse extends SimpleResponse
-
-
Field Summary
Fields Modifier and Type Field Description booleanexitAlljava.lang.Stringusername-
Fields inherited from class pro.gravit.launchserver.socket.response.SimpleResponse
ctx, ip, requestUUID, server, service
-
-
Constructor Summary
Constructors Constructor Description ExitResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(io.netty.channel.ChannelHandlerContext ctx, Client client)static voidexit(LaunchServer server, WebSocketFrameHandler wsHandler, io.netty.channel.Channel channel, pro.gravit.launcher.events.request.ExitRequestEvent.ExitReason reason)java.lang.StringgetType()-
Methods inherited from class pro.gravit.launchserver.socket.response.SimpleResponse
sendError, sendResult, sendResultAndClose
-
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
execute
public void execute(io.netty.channel.ChannelHandlerContext ctx, Client client) throws java.lang.Exception- Throws:
java.lang.Exception
-
exit
public static void exit(LaunchServer server, WebSocketFrameHandler wsHandler, io.netty.channel.Channel channel, pro.gravit.launcher.events.request.ExitRequestEvent.ExitReason reason)
-
-