Class BuiltinFlags
java.lang.Object
org.geysermc.mcprotocollib.network.BuiltinFlags
Built-in PacketLib session flags.
-
Field Summary
FieldsModifier and TypeFieldDescriptionWhen set to false, an SRV record resolve is not attempted.Connection timeout in seconds.static final Flag<InetSocketAddress>Enables HAProxy protocol support.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. -
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.
-