public class RakNetDatagram
extends io.netty.util.AbstractReferenceCounted
| Constructor and Description |
|---|
RakNetDatagram() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deallocate() |
void |
decode(io.netty.buffer.ByteBuf buf) |
void |
encode(io.netty.buffer.ByteBuf buf) |
List<EncapsulatedRakNetPacket> |
getPackets() |
RakNetDatagram |
retain() |
RakNetDatagram |
retain(int increment) |
RakNetDatagram |
touch(Object hint) |
boolean |
tryAddPacket(EncapsulatedRakNetPacket packet,
short mtu) |
public RakNetDatagram retain()
retain in interface io.netty.util.ReferenceCountedretain in class io.netty.util.AbstractReferenceCountedpublic RakNetDatagram retain(int increment)
retain in interface io.netty.util.ReferenceCountedretain in class io.netty.util.AbstractReferenceCountedpublic RakNetDatagram touch(Object hint)
public void decode(io.netty.buffer.ByteBuf buf)
public void encode(io.netty.buffer.ByteBuf buf)
public List<EncapsulatedRakNetPacket> getPackets()
public boolean tryAddPacket(EncapsulatedRakNetPacket packet, short mtu)
protected void deallocate()
deallocate in class io.netty.util.AbstractReferenceCountedCopyright © 2018. All rights reserved.