Core Concepts
Topics
-
Fragment Resolution - How multi-packet responses are handled
-
Thread Safety Model - Concurrent command execution
-
Packet Protocol - Binary encoding details
-
Byte Order - Little-endian encoding
-
Buffer Management - I/O buffer strategies
-
Charset Handling - Text encoding for color codes
Architecture
Rcon follows a layered architecture with clear separation of concerns:
-
High-Level API (
RconClient) - User-friendly interface with logging -
Core API (
Rcon) - Thread-safe protocol implementation -
I/O Layer (
PacketReader/PacketWriter) - Socket operations -
Codec Layer (
PacketCodec) - Binary encoding/decoding -
Domain Model (
Packet) - Immutable packet representation
Each layer has a single responsibility and can be used independently if needed.