public abstract class SimpleResponse extends java.lang.Object implements WebSocketServerResponse
| Modifier and Type | Field and Description |
|---|---|
io.netty.channel.ChannelHandlerContext |
ctx |
java.lang.String |
ip |
java.util.UUID |
requestUUID |
LaunchServer |
server |
WebSocketService |
service |
| Constructor and Description |
|---|
SimpleResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendError(java.lang.String errorMessage) |
void |
sendResult(pro.gravit.launcher.events.RequestEvent result) |
void |
sendResultAndClose(pro.gravit.launcher.events.RequestEvent result) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getTypepublic java.util.UUID requestUUID
public transient LaunchServer server
public transient WebSocketService service
public transient io.netty.channel.ChannelHandlerContext ctx
public transient java.lang.String ip