Package org.spongepowered.api.network
Interface PlayerConnection
-
- All Superinterfaces:
EngineConnection
,RemoteConnection
- All Known Subinterfaces:
LocalPlayerConnection
,ServerPlayerConnection
public interface PlayerConnection extends EngineConnection
Represents a connection of a client to the server where thePlayer
has successfully joined.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Player
player()
Gets the associatedplayer
for this connection.-
Methods inherited from interface org.spongepowered.api.network.EngineConnection
close, close, side
-
Methods inherited from interface org.spongepowered.api.network.RemoteConnection
address, virtualHost
-
-