Interface PacketChannel
- All Superinterfaces:
- Channel,- PacketDispatcher,- PacketRegistry,- TransactionalPacketDispatcher,- TransactionalPacketRegistry
public interface PacketChannel
extends Channel, TransactionalPacketRegistry, TransactionalPacketDispatcher
Represents an advanced channel binding that sends and receives packets. An
 advantage over using a 
BasicPacketChannel is that it also supports
 request/response packets and the configuration phase.
 However this channel is NOT compatible with the forge opcode based packet
 channels. If you want to remain compatible, use BasicPacketChannel
 instead.
The channel registration of this channel is also synced between the client
 and server during both the handshake and play phases. Because of this,
 PacketDispatcher.isSupportedBy(EngineConnection) may be called to check whether a
 connection the packet channel supports.
- 
Method SummaryMethods inherited from interface org.spongepowered.api.network.channel.Channelkey, manager, setExceptionHandlerMethods inherited from interface org.spongepowered.api.network.channel.packet.PacketDispatcherisSupportedBy, sendTo, sendTo, sendToAllPlayers, sendToAllPlayersIn, sendToServerMethods inherited from interface org.spongepowered.api.network.channel.packet.PacketRegistrybinding, binding, bindings, registerMethods inherited from interface org.spongepowered.api.network.channel.packet.TransactionalPacketDispatchersendTo, sendTo, sendToServerMethods inherited from interface org.spongepowered.api.network.channel.packet.TransactionalPacketRegistryregisterTransactional, registerTransactional, transactionalBinding