- All Superinterfaces:
NetConfiguration
- All Known Subinterfaces:
BootNetClientConfiguration
Net client configuration.
- Since:
- 1.6
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptiondefault Integer
The connection timeout in milliseconds.default boolean
Enables/Disables TCP fast open connect.Methods inherited from interface io.inverno.mod.base.net.NetConfiguration
idle_read_timeout, idle_timeout, idle_write_timeout, ip_tos, keep_alive, linger, rcv_buffer, reuse_address, reuse_port, snd_buffer, tcp_cork, tcp_no_delay, tcp_quickack
-
Method Details
-
connect_timeout
The connection timeout in milliseconds.
Defaults to
60000
.- Returns:
- the connection timeout
-
tcp_fast_open_connect
default boolean tcp_fast_open_connect()Enables/Disables TCP fast open connect.
Defaults to
false
.- Returns:
- true if the option is enabled, false otherwise
-