Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- defaults()
- getInitial()
- setInitial(Duration)
- getAuxStreamPending()
- setAuxStreamPending(Duration)
- getAuth()
- setAuth(Duration)
- getAuthGrant()
- setAuthGrant(Duration)
- getAuthToken()
- setAuthToken(Duration)
- getAuthServerExchange()
- setAuthServerExchange(Duration)
- getPassword()
- setPassword(Duration)
- getPlay()
- setPlay(Duration)
- getSetupWorldSettings()
- setSetupWorldSettings(Duration)
- getSetupAssetsRequest()
- setSetupAssetsRequest(Duration)
- getSetupSendAssets()
- setSetupSendAssets(Duration)
- getSetupAddToUniverse()
- setSetupAddToUniverse(Duration)
Class HytaleServerConfig.TimeoutProfile
java.lang.Object
com.hypixel.hytale.server.core.HytaleServerConfig.TimeoutProfile
- Enclosing class:
HytaleServerConfig
Configuration for connection timeouts at various stages of the connection lifecycle.
Each stage has a single timeout value used for both Netty read timeout and stage completion.
Singleplayer defaults are more lenient since local connections don't need DoS protection.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaults()getAuth()Auth stage - authentication handshake.Auth sub-stage - waiting for auth grant from auth service.Auth sub-stage - server token exchange.Auth sub-stage - waiting for auth token from client.Auxiliary stream pending stage - waiting for a StreamOpen on a client-initiated bidirectional stream that just appeared.Initial stage - waiting for Connect packet.Password stage - waiting for password response.getPlay()Play stage - idle timeout during gameplay.Setup stage - adding player to universe.Setup stage - receiving assets request.Setup stage - sending assets.Setup stage - sending world settings.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
CODEC
-
-
Constructor Details
-
TimeoutProfile
public TimeoutProfile() -
TimeoutProfile
-
-
Method Details
-
defaults
-
getInitial
Initial stage - waiting for Connect packet. Dedicated: 20s, Singleplayer: 30s -
setInitial
-
getAuxStreamPending
Auxiliary stream pending stage - waiting for a StreamOpen on a client-initiated bidirectional stream that just appeared. Default: 5s on both profiles. -
setAuxStreamPending
-
getAuth
Auth stage - authentication handshake. Dedicated: 30s, Singleplayer: 60s -
setAuth
-
getAuthGrant
Auth sub-stage - waiting for auth grant from auth service. Dedicated: 30s, Singleplayer: 60s -
setAuthGrant
-
getAuthToken
Auth sub-stage - waiting for auth token from client. Dedicated: 30s, Singleplayer: 60s -
setAuthToken
-
getAuthServerExchange
Auth sub-stage - server token exchange. Dedicated: 15s, Singleplayer: 30s -
setAuthServerExchange
-
getPassword
Password stage - waiting for password response. Dedicated: 30s, Singleplayer: 60s -
setPassword
-
getPlay
Play stage - idle timeout during gameplay. Dedicated: 30s, Singleplayer: 5min -
setPlay
-
getSetupWorldSettings
Setup stage - sending world settings. Dedicated: 10s, Singleplayer: 30s -
setSetupWorldSettings
-
getSetupAssetsRequest
Setup stage - receiving assets request. Dedicated: 120s, Singleplayer: 300s -
setSetupAssetsRequest
-
getSetupSendAssets
Setup stage - sending assets. Dedicated: 120s, Singleplayer: 300s -
setSetupSendAssets
-
getSetupAddToUniverse
Setup stage - adding player to universe. Dedicated: 60s, Singleplayer: 120s -
setSetupAddToUniverse
-