Package io.netty.channel.epoll
Class SegmentedDatagramPacket
- java.lang.Object
-
- io.netty.channel.DefaultAddressedEnvelope<io.netty.buffer.ByteBuf,InetSocketAddress>
-
- io.netty.channel.socket.DatagramPacket
-
- io.netty.channel.unix.SegmentedDatagramPacket
-
- io.netty.channel.epoll.SegmentedDatagramPacket
-
- All Implemented Interfaces:
io.netty.buffer.ByteBufHolder,io.netty.channel.AddressedEnvelope<io.netty.buffer.ByteBuf,InetSocketAddress>,io.netty.util.ReferenceCounted
@Deprecated public final class SegmentedDatagramPacket extends io.netty.channel.unix.SegmentedDatagramPacket
Deprecated.useSegmentedDatagramPacket.
-
-
Constructor Summary
Constructors Constructor Description SegmentedDatagramPacket(io.netty.buffer.ByteBuf data, int segmentSize, InetSocketAddress recipient)Deprecated.Create a new instance.SegmentedDatagramPacket(io.netty.buffer.ByteBuf data, int segmentSize, InetSocketAddress recipient, InetSocketAddress sender)Deprecated.Create a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SegmentedDatagramPacketcopy()Deprecated.SegmentedDatagramPacketduplicate()Deprecated.static booleanisSupported()Deprecated.Returnstrueif the underlying system supports GSO.SegmentedDatagramPacketreplace(io.netty.buffer.ByteBuf content)Deprecated.SegmentedDatagramPacketretain()Deprecated.SegmentedDatagramPacketretain(int increment)Deprecated.SegmentedDatagramPacketretainedDuplicate()Deprecated.SegmentedDatagramPackettouch()Deprecated.SegmentedDatagramPackettouch(Object hint)Deprecated.-
Methods inherited from class io.netty.channel.DefaultAddressedEnvelope
content, recipient, refCnt, release, release, sender, toString
-
-
-
-
Constructor Detail
-
SegmentedDatagramPacket
public SegmentedDatagramPacket(io.netty.buffer.ByteBuf data, int segmentSize, InetSocketAddress recipient)Deprecated.Create a new instance.- Parameters:
data- theByteBufwhich must be continguous.segmentSize- the segment size.recipient- the recipient.
-
SegmentedDatagramPacket
public SegmentedDatagramPacket(io.netty.buffer.ByteBuf data, int segmentSize, InetSocketAddress recipient, InetSocketAddress sender)Deprecated.Create a new instance.- Parameters:
data- theByteBufwhich must be continguous.segmentSize- the segment size.recipient- the recipient.
-
-
Method Detail
-
isSupported
public static boolean isSupported()
Deprecated.Returnstrueif the underlying system supports GSO.
-
copy
public SegmentedDatagramPacket copy()
Deprecated.- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder- Overrides:
copyin classio.netty.channel.unix.SegmentedDatagramPacket
-
duplicate
public SegmentedDatagramPacket duplicate()
Deprecated.- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder- Overrides:
duplicatein classio.netty.channel.unix.SegmentedDatagramPacket
-
retainedDuplicate
public SegmentedDatagramPacket retainedDuplicate()
Deprecated.- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Overrides:
retainedDuplicatein classio.netty.channel.unix.SegmentedDatagramPacket
-
replace
public SegmentedDatagramPacket replace(io.netty.buffer.ByteBuf content)
Deprecated.- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder- Overrides:
replacein classio.netty.channel.unix.SegmentedDatagramPacket
-
retain
public SegmentedDatagramPacket retain()
Deprecated.- Specified by:
retainin interfaceio.netty.channel.AddressedEnvelope<io.netty.buffer.ByteBuf,InetSocketAddress>- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Overrides:
retainin classio.netty.channel.unix.SegmentedDatagramPacket
-
retain
public SegmentedDatagramPacket retain(int increment)
Deprecated.- Specified by:
retainin interfaceio.netty.channel.AddressedEnvelope<io.netty.buffer.ByteBuf,InetSocketAddress>- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Overrides:
retainin classio.netty.channel.unix.SegmentedDatagramPacket
-
touch
public SegmentedDatagramPacket touch()
Deprecated.- Specified by:
touchin interfaceio.netty.channel.AddressedEnvelope<io.netty.buffer.ByteBuf,InetSocketAddress>- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Overrides:
touchin classio.netty.channel.unix.SegmentedDatagramPacket
-
touch
public SegmentedDatagramPacket touch(Object hint)
Deprecated.- Specified by:
touchin interfaceio.netty.channel.AddressedEnvelope<io.netty.buffer.ByteBuf,InetSocketAddress>- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Overrides:
touchin classio.netty.channel.unix.SegmentedDatagramPacket
-
-