Package dev.qixils.crowdcontrol.socket
Provides classes related to network communication,
such as
Request
and Response
.
Many internal classes used to facilitate the communication are also included.
- Since:
- 1.0.0
-
Interface Summary Interface Description ByteObject An object that is represented by a byte in JSON serialization.JsonObject An object that can be serialized into JSON.SocketManager Manages the connection(s) to a Crowd Control server or clients. -
Class Summary Class Description Request An incoming packet from the Crowd Control TCP server which represents an effect to be played.Request.Builder Mutable builder for the immutableRequest
class.Request.Target A recipient of an effect.Response An outgoing packet to the Crowd Control TCP server carrying the result of executing arequested
effect.Response.Builder Mutable builder for the immutableResponse
class. -
Enum Summary Enum Description Request.Type The type of incoming packet.Response.PacketType Determines the type of packet being sent.Response.ResultType The result of processing an incoming packet.