Expand description
This module contains the PlayerConnection trait that abstracts network connections.
This module contains the PlayerConnection trait that abstracts network connections.
The trait is object-safe to allow using dyn PlayerConnection for both real network
connections (JavaConnection) and test connections (FlintConnection).
Modules§
- java 🔒
- This module contains the
JavaConnectionstruct, which is used to represent a connection to a Java client.
Structs§
- Bundle
Builder - Builder for creating packet bundles.
- Client
Information - Client-side settings sent via
SClientInformationpacket. This is stored separately from the packet struct to allow default initialization. - Java
Connection - A connection to a Java client.
Enums§
- Outbound
Packet - Outbound packet queue message for Java connections.
- Player
Connection - Concrete player connection type using
enum_dispatchfor zero-cost dispatch.
Traits§
- Network
Connection - An object-safe trait for player connections.
Type Aliases§
- Java
Network Writer - Shared Java socket writer.