Package org.spongepowered.api.network
Interface ClientSideConnection
-
- All Superinterfaces:
EngineConnection
,RemoteConnection
- All Known Subinterfaces:
LocalPlayerConnection
public interface ClientSideConnection extends EngineConnection
Represents a connection from the client to the server on the client side.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default EngineConnectionSide<ClientSideConnection>
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 Detail
-
side
default EngineConnectionSide<ClientSideConnection> side()
Description copied from interface:EngineConnection
Gets the side this connection is on.- Specified by:
side
in interfaceEngineConnection
- Returns:
- The side
-
-