public abstract class SourceQueryPacket extends AbstractPacket
| Constructor and Description |
|---|
SourceQueryPacket(int type,
io.netty.buffer.ByteBuf data)
Creates a new source query packet with the type and underlying payload
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
The type of this
SourceQueryPacket |
content, contentToString, copy, duplicate, equals, hashCode, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touchclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic SourceQueryPacket(int type,
io.netty.buffer.ByteBuf data)
type - The type of this packet. Single (0xFFFFFFFF or -1) or Split-packet (0xFFFFFFFE or -2).data - The underlying payload of this packet wrapped in ByteBufSourceQuery.SOURCE_PACKET_TYPE_SINGLE,
SourceQuery.SOURCE_PACKET_TYPE_SPLITpublic final int getType()
SourceQueryPacketSourceQuery.SOURCE_PACKET_TYPE_SINGLE,
SourceQuery.SOURCE_PACKET_TYPE_SPLITCopyright © 2016–2024. All rights reserved.