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