Class ExitResponse

  • All Implemented Interfaces:
    pro.gravit.launcher.request.websockets.WebSocketRequest, WebSocketServerResponse, pro.gravit.utils.TypeSerializeInterface

    public class ExitResponse
    extends SimpleResponse
    • Field Detail

      • exitAll

        public boolean exitAll
      • username

        public java.lang.String username
    • Constructor Detail

      • ExitResponse

        public ExitResponse()
    • 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)