Class SimpleResponse
java.lang.Object
pro.gravit.launchserver.socket.response.SimpleResponse
- All Implemented Interfaces:
pro.gravit.launcher.request.websockets.WebSocketRequest,WebSocketServerResponse,pro.gravit.utils.TypeSerializeInterface
- Direct Known Subclasses:
AdditionalDataResponse,AuthResponse,BatchProfileByUsername,CheckServerResponse,CurrentUserResponse,ExitResponse,FeaturesResponse,FetchClientProfileKeyResponse,GetAvailabilityAuthResponse,GetPublicKeyResponse,GetSecureLevelInfoResponse,HardwareReportResponse,JoinServerResponse,LauncherResponse,ProfileByUsername,ProfileByUUIDResponse,ProfilesResponse,RefreshTokenResponse,RestoreResponse,RestoreSessionResponse,SecurityReportResponse,SetProfileResponse,UnknownResponse,UpdateListResponse,UpdateResponse,VerifySecureLevelKeyResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionio.netty.channel.ChannelHandlerContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsendResult(pro.gravit.launcher.events.RequestEvent result) voidsendResultAndClose(pro.gravit.launcher.events.RequestEvent result) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launchserver.socket.response.WebSocketServerResponse
execute, getType
-
Field Details
-
requestUUID
-
server
-
service
-
ctx
public transient io.netty.channel.ChannelHandlerContext ctx -
ip
-
-
Constructor Details
-
SimpleResponse
public SimpleResponse()
-
-
Method Details
-
sendResult
public void sendResult(pro.gravit.launcher.events.RequestEvent result) -
sendResultAndClose
public void sendResultAndClose(pro.gravit.launcher.events.RequestEvent result) -
sendError
-