Package org.spongepowered.api.network
Interface ServerSideConnection
- All Superinterfaces:
EngineConnection
,RemoteConnection
- All Known Subinterfaces:
ServerPlayerConnection
Represents a connection between a minecraft client and server.
-
Method Summary
Modifier and TypeMethodDescriptionprofile()
Gets the profile of the client.default EngineConnectionSide<? extends ServerSideConnection>
side()
Gets the side this connection is on.Methods inherited from interface org.spongepowered.api.network.EngineConnection
close, close
Methods inherited from interface org.spongepowered.api.network.RemoteConnection
address, virtualHost
-
Method Details
-
side
Description copied from interface:EngineConnection
Gets the side this connection is on.- Specified by:
side
in interfaceEngineConnection
- Returns:
- The side
-
profile
GameProfile profile()Gets the profile of the client.- Returns:
- The client's profile
-