Package | Description |
---|---|
net.tridentsdk.server.netty |
Contains the pipeline classes for connections to/from the server
|
net.tridentsdk.server.netty.packet |
Has channel handlers which decode and encode packets
|
net.tridentsdk.server.packets.handshake |
Packet relating to the handshake that the client sends to the server
|
net.tridentsdk.server.packets.login |
Packets related to the authentication and logging in of a client.l
|
net.tridentsdk.server.packets.play.in |
Packets related to the gameplay on the server that are sent by the client
|
net.tridentsdk.server.packets.status |
Packets related to the client requesting server status
|
net.tridentsdk.server.player |
Contains implementations related to TridentPlayer and the associcated OfflinePlayer classes
|
Modifier and Type | Field and Description |
---|---|
protected static ConcurrentMap<InetSocketAddress,ClientConnection> |
ClientConnection.clientData
Map of client connections registered
|
Modifier and Type | Method and Description |
---|---|
static ClientConnection |
ClientConnection.connection(ChannelHandlerContext chx)
Gets the connection of a channel handler context
|
static ClientConnection |
ClientConnection.getConnection(InetSocketAddress address)
Gets the connection by the IP address
|
static ClientConnection |
ClientConnection.registerConnection(Channel channel)
Registers the client channel with a protocol connection wrapper
|
Modifier and Type | Method and Description |
---|---|
void |
UnknownPacket.handleReceived(ClientConnection connection)
Handles the packet after receiving it from a connection, is invoked by the ClientConnection that received it
|
void |
Packet.handleReceived(ClientConnection connection)
Handles the packet after receiving it from a connection, is invoked by the ClientConnection that received it
|
void |
OutPacket.handleReceived(ClientConnection connection)
Handles the packet after receiving it from a connection, is invoked by the ClientConnection that received it
|
Modifier and Type | Method and Description |
---|---|
void |
PacketHandshakeIn.handleReceived(ClientConnection connection)
Handles the packet after receiving it from a connection, is invoked by the ClientConnection that received it
|
void |
LegacyPacketHandshakeIn.handleReceived(ClientConnection connection) |
Modifier and Type | Field and Description |
---|---|
protected ClientConnection |
PacketLoginOutSuccess.connection
Connection of the client, currently not used
|
Modifier and Type | Method and Description |
---|---|
ClientConnection |
PacketLoginOutSuccess.connection() |
Modifier and Type | Method and Description |
---|---|
void |
PacketLoginOutDisconnect.handleReceived(ClientConnection connection) |
void |
PacketLoginInStart.handleReceived(ClientConnection connection) |
void |
PacketLoginInEncryptionResponse.handleReceived(ClientConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
PacketPlayInUpdateSign.handleReceived(ClientConnection connection) |
void |
PacketPlayInTeleportConfirm.handleReceived(ClientConnection connection) |
void |
PacketPlayInTabComplete.handleReceived(ClientConnection connection) |
void |
PacketPlayInSteerVehicle.handleReceived(ClientConnection connection) |
void |
PacketPlayInPluginMessage.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerSpectate.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerMove.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerLook.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerHeldItemChange.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerFall.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerEnchant.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerDig.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerCreativeAction.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerConfirmTransaction.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerCompleteMove.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerCloseWindow.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerClickWindow.handleReceived(ClientConnection connection) |
void |
PacketPlayInPlayerAbilities.handleReceived(ClientConnection connection) |
void |
PacketPlayInPackStatus.handleReceived(ClientConnection connection) |
void |
PacketPlayInKeepAlive.handleReceived(ClientConnection connection) |
void |
PacketPlayInEntityInteract.handleReceived(ClientConnection connection) |
void |
PacketPlayInEntityAction.handleReceived(ClientConnection connection) |
void |
PacketPlayInClientStatus.handleReceived(ClientConnection connection) |
void |
PacketPlayInClientSettings.handleReceived(ClientConnection connection) |
void |
PacketPlayInChat.handleReceived(ClientConnection connection) |
void |
PacketPlayInBlockPlace.handleReceived(ClientConnection connection) |
void |
PacketPlayInAnimation.handleReceived(ClientConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
PacketStatusInRequest.handleReceived(ClientConnection connection) |
void |
PacketStatusInPing.handleReceived(ClientConnection connection) |
Modifier and Type | Class and Description |
---|---|
class |
PlayerConnection
Represents the connection the player has to the server
|
Modifier and Type | Method and Description |
---|---|
static PlayerConnection |
PlayerConnection.createPlayerConnection(ClientConnection connection,
TridentPlayer player) |
static TridentPlayer |
TridentPlayer.spawnPlayer(ClientConnection connection,
UUID id,
String name) |
Copyright © 2016. All rights reserved.