public abstract class IrynaPacketOutgoingextends at.chrl.nutils.network.packet.BaseServerPacket
Modifier | Constructor and Description |
---|---|
protected | IrynaPacketOutgoing(int opcode) Constructs a new outgoing packet with specified id. |
Modifier and Type | Method and Description |
---|---|
void | write(IrynaConnection con, ByteBuffer buf) Write this packet data for given connection, to given buffer. |
protected abstract void | writeImpl(IrynaConnection con, ByteBuffer buf) Write data that this packet represents to given byte buffer. |
writeB, writeC, writeD, writeDF, writeF, writeH, writeQ, writeS
protected IrynaPacketOutgoing(int opcode)
opcode
- packet opcode.public final void write(IrynaConnection con, ByteBuffer buf)
con
- buf
- protected abstract void writeImpl(IrynaConnection con, ByteBuffer buf)
con
- buf
- Copyright © 2014–2015. All rights reserved.