Package org.spongepowered.api.network
Class EngineConnectionTypes
- java.lang.Object
-
- org.spongepowered.api.network.EngineConnectionTypes
-
public final class EngineConnectionTypes extends Object
An enumeration of all the possible engine connection types.
-
-
Field Summary
Fields Modifier and Type Field Description static Class<EngineConnection>
ALL
The supertype of all the known connection types.static Class<ClientSideConnection>
CLIENT_SIDE
The client side connection type.static Class<LocalPlayerConnection>
LOCAL_PLAYER
The client side connection type where the player has successfully joined a server.static Class<PlayerConnection>
PLAYER
The server or client connection type where the player has successfully joined a server.static Class<ServerPlayerConnection>
SERVER_PLAYER
The server side connection type where the player has successfully joined a server.static Class<ServerSideConnection>
SERVER_SIDE
The server side connection type.
-
-
-
Field Detail
-
ALL
public static final Class<EngineConnection> ALL
The supertype of all the known connection types.
-
CLIENT_SIDE
public static final Class<ClientSideConnection> CLIENT_SIDE
The client side connection type.
-
LOCAL_PLAYER
public static final Class<LocalPlayerConnection> LOCAL_PLAYER
The client side connection type where the player has successfully joined a server.
-
PLAYER
public static final Class<PlayerConnection> PLAYER
The server or client connection type where the player has successfully joined a server.
-
SERVER_SIDE
public static final Class<ServerSideConnection> SERVER_SIDE
The server side connection type.
-
SERVER_PLAYER
public static final Class<ServerPlayerConnection> SERVER_PLAYER
The server side connection type where the player has successfully joined a server.
-
-