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:
- 3.3.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.Respondable Something that can beresponded
to.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.Source The source of an effect.Request.Source.Builder Mutable builder for the immutableRequest.Source
class.Request.Target A recipient of an effect.Request.Target.Builder Mutable builder for the immutableRequest.Target
class.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 IdType A type of effect identifier.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.