public final class SourceQueryPacketDecoderProvider extends Object
PacketDecoder| Constructor and Description |
|---|
SourceQueryPacketDecoderProvider() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends PacketDecoder<P>,P extends SourceQueryPacket> |
getDecoder(int type)
Get a singleton instance of a
PacketDecoder based on the type provided. |
public static <T extends PacketDecoder<P>,P extends SourceQueryPacket> T getDecoder(int type)
PacketDecoder based on the type provided.T - The concrete capture type of PacketDecoderP - a P classtype - The lookup header typePacketDecoderSourceQuery.SOURCE_PACKET_TYPE_SINGLE,
SourceQuery.SOURCE_PACKET_TYPE_SPLITCopyright © 2016–2024. All rights reserved.