Class BuiltinFlags
java.lang.Object
org.geysermc.mcprotocollib.network.BuiltinFlags
Built-in PacketLib session flags.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Flag<io.netty.buffer.ByteBufAllocator>The netty allocator to use.When set to false, an SRV record resolve is not attempted.Connection timeout in seconds.static final Flag<InetSocketAddress>Enables HAProxy protocol support.Whether the current client is transferring.Read timeout in seconds.When set to true, the client or server will attempt to use TCP Fast Open if supported.Write timeout in seconds. -
Method Summary
-
Field Details
-
CLIENT_PROXIED_ADDRESS
Enables HAProxy protocol support. When this value is not null it represents the ip and port the client claims the connection is from. -
CLIENT_TRANSFERRING
Whether the current client is transferring. -
ATTEMPT_SRV_RESOLVE
When set to false, an SRV record resolve is not attempted. -
TCP_FAST_OPEN
When set to true, the client or server will attempt to use TCP Fast Open if supported. -
CLIENT_CONNECT_TIMEOUT
Connection timeout in seconds. Only used by the client. -
READ_TIMEOUT
Read timeout in seconds. Used by both the server and client. -
WRITE_TIMEOUT
Write timeout in seconds. Used by both the server and client. -
ALLOCATOR
The netty allocator to use. Used by both server and client
-