Top Constructors Methods
io.netty.channel.epoll

public final Class SegmentedDatagramPacket

extends SegmentedDatagramPacket
Class Inheritance
Annotations
@Deprecated
Imports
io.netty.buffer.ByteBuf, java.net.InetSocketAddress

Deprecated

use io.netty.channel.unix.SegmentedDatagramPacket.

Constructor Summary

AccessConstructor and Description
public
SegmentedDatagramPacket(ByteBuf
the ByteBuf which must be continguous.
data
,
int
the segment size.
segmentSize
,
InetSocketAddress
the recipient.
recipient
)

Create a new instance.

public
SegmentedDatagramPacket(ByteBuf
the ByteBuf which must be continguous.
data
,
int
the segment size.
segmentSize
,
InetSocketAddress
the recipient.
recipient
,
InetSocketAddress sender)

Create a new instance.

Method Summary

Modifier and TypeMethod and Description
private static void
public SegmentedDatagramPacket
copy()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.copy.

Implements io.netty.buffer.ByteBufHolder.copy.

Deprecated as a consequence of SegmentedDatagramPacket being deprecated.
Creates a deep copy of this ByteBufHolder.
public SegmentedDatagramPacket
duplicate()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.duplicate.

Implements io.netty.buffer.ByteBufHolder.duplicate.

Deprecated as a consequence of SegmentedDatagramPacket being deprecated.
Duplicates this ByteBufHolder.
public static boolean
isSupported()

Returns true if the underlying system supports GSO.

public SegmentedDatagramPacket
replace(ByteBuf content)

Overrides io.netty.channel.unix.SegmentedDatagramPacket.replace.

Implements io.netty.buffer.ByteBufHolder.replace.

Deprecated as a consequence of SegmentedDatagramPacket being deprecated.
Returns a new ByteBufHolder which contains the specified content.
public SegmentedDatagramPacket
retain()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.retain.

Implements io.netty.buffer.ByteBufHolder.retain, io.netty.channel.AddressedEnvelope.retain.

Deprecated as a consequence of SegmentedDatagramPacket being deprecated.
Increases the reference count by 1.
public SegmentedDatagramPacket
retain(int increment)

Overrides io.netty.channel.unix.SegmentedDatagramPacket.retain.

Implements io.netty.buffer.ByteBufHolder.retain, io.netty.channel.AddressedEnvelope.retain.

Deprecated as a consequence of SegmentedDatagramPacket being deprecated.
Increases the reference count by the specified increment.
public SegmentedDatagramPacket
public SegmentedDatagramPacket
touch()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.touch.

Implements io.netty.buffer.ByteBufHolder.touch, io.netty.channel.AddressedEnvelope.touch.

Deprecated as a consequence of SegmentedDatagramPacket being deprecated.
Records the current access location of this object for debugging purposes.
public SegmentedDatagramPacket
touch(Object hint)

Overrides io.netty.channel.unix.SegmentedDatagramPacket.touch.

Implements io.netty.buffer.ByteBufHolder.touch, io.netty.channel.AddressedEnvelope.touch.

Deprecated as a consequence of SegmentedDatagramPacket being deprecated.
Records the current access location of this object with an additional arbitrary information for debugging purposes.
Inherited from io.netty.channel.unix.SegmentedDatagramPacket:
segmentSize

Constructor Detail

SegmentedDatagramPacketback to summary
public SegmentedDatagramPacket(ByteBuf data, int segmentSize, InetSocketAddress recipient)

Create a new instance.

Parameters
data:ByteBuf

the ByteBuf which must be continguous.

segmentSize:int

the segment size.

recipient:InetSocketAddress

the recipient.

SegmentedDatagramPacketback to summary
public SegmentedDatagramPacket(ByteBuf data, int segmentSize, InetSocketAddress recipient, InetSocketAddress sender)

Create a new instance.

Parameters
data:ByteBuf

the ByteBuf which must be continguous.

segmentSize:int

the segment size.

recipient:InetSocketAddress

the recipient.

Method Detail

checkIsSupportedback to summary
private static void checkIsSupported()
copyback to summary
public SegmentedDatagramPacket copy()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.copy.

Implements io.netty.buffer.ByteBufHolder.copy.

Doc from io.netty.buffer.ByteBufHolder.copy.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public SegmentedDatagramPacket duplicate()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.duplicate.

Implements io.netty.buffer.ByteBufHolder.duplicate.

Doc from io.netty.buffer.ByteBufHolder.duplicate.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Duplicates this ByteBufHolder. Be aware that this will not automatically call retain().

Annotations
@Override
isSupportedback to summary
public static boolean isSupported()

Returns true if the underlying system supports GSO.

replaceback to summary
public SegmentedDatagramPacket replace(ByteBuf content)

Overrides io.netty.channel.unix.SegmentedDatagramPacket.replace.

Implements io.netty.buffer.ByteBufHolder.replace.

Doc from io.netty.buffer.ByteBufHolder.replace.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Returns a new ByteBufHolder which contains the specified content.

Annotations
@Override
retainback to summary
public SegmentedDatagramPacket retain()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.retain.

Implements io.netty.buffer.ByteBufHolder.retain, io.netty.channel.AddressedEnvelope.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Increases the reference count by 1.

Annotations
@Override
retainback to summary
public SegmentedDatagramPacket retain(int increment)

Overrides io.netty.channel.unix.SegmentedDatagramPacket.retain.

Implements io.netty.buffer.ByteBufHolder.retain, io.netty.channel.AddressedEnvelope.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Increases the reference count by the specified increment.

Annotations
@Override
retainedDuplicateback to summary
public SegmentedDatagramPacket retainedDuplicate()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.retainedDuplicate.

Implements io.netty.buffer.ByteBufHolder.retainedDuplicate.

Doc from io.netty.buffer.ByteBufHolder.retainedDuplicate.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Duplicates this ByteBufHolder. This method returns a retained duplicate unlike duplicate().

Annotations
@Override
touchback to summary
public SegmentedDatagramPacket touch()

Overrides io.netty.channel.unix.SegmentedDatagramPacket.touch.

Implements io.netty.buffer.ByteBufHolder.touch, io.netty.channel.AddressedEnvelope.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to touch(null).

Annotations
@Override
touchback to summary
public SegmentedDatagramPacket touch(Object hint)

Overrides io.netty.channel.unix.SegmentedDatagramPacket.touch.

Implements io.netty.buffer.ByteBufHolder.touch, io.netty.channel.AddressedEnvelope.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Deprecated

as a consequence of SegmentedDatagramPacket being deprecated. See corresponding docs for further information.

Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.

Annotations
@Override