Package org.spongepowered.api.network
Interface ServerConnectionState
- All Superinterfaces:
EngineConnectionState
- All Known Subinterfaces:
ServerConnectionState.Authenticated
,ServerConnectionState.Configuration
,ServerConnectionState.Game
,ServerConnectionState.Intent
,ServerConnectionState.Login
Represents a connection state between a minecraft client and server.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Represents an authenicated state between a minecraft client and server.static interface
Represents a configuration state between a minecraft client and server.static interface
Represents a game state between a minecraft client and server.static interface
Represents a intent state between a minecraft client and server.static interface
Represents a login state between a minecraft client and server. -
Method Summary
Methods inherited from interface org.spongepowered.api.network.EngineConnectionState
transferred
-
Method Details
-
connection
ServerSideConnection connection()Gets the associatedconnection
for this connection state.- Specified by:
connection
in interfaceEngineConnectionState
- Returns:
- The connection
-