DatagramChannel to communicate with the remote peer.
| Access | Constructor and Description |
|---|---|
| public | DatagramPacket(ByteBuf data, InetSocketAddress recipient)
Create a new instance with the specified packet |
| public | DatagramPacket(ByteBuf data, InetSocketAddress recipient, InetSocketAddress sender)
Create a new instance with the specified packet |
| DatagramPacket | back to summary |
|---|---|
| public DatagramPacket(ByteBuf data, InetSocketAddress recipient) Create a new instance with the specified packet | |
| DatagramPacket | back to summary |
|---|---|
| public DatagramPacket(ByteBuf data, InetSocketAddress recipient, InetSocketAddress sender) Create a new instance with the specified packet | |
| copy | back to summary |
|---|---|
| public DatagramPacket copy() Implements io. Doc from io. Creates a deep copy of this
| |
| duplicate | back to summary |
|---|---|
| public DatagramPacket duplicate() Implements io. Doc from io. Duplicates this
| |
| replace | back to summary |
|---|---|
| public DatagramPacket replace(ByteBuf content) Implements io. Doc from io. Returns a new
| |
| retain | back to summary |
|---|---|
| public DatagramPacket retain() Overrides io. Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public DatagramPacket retain(int increment) Overrides io. Implements io. Doc from io. Increases the reference count by the specified
| |
| retainedDuplicate | back to summary |
|---|---|
| public DatagramPacket retainedDuplicate() Implements io. Doc from io. Duplicates this
| |
| touch | back to summary |
|---|---|
| public DatagramPacket touch() Overrides io. Implements io. Doc from io. 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
| |
| touch | back to summary |
|---|---|
| public DatagramPacket touch(Object hint) Overrides io. Implements io. Doc from io. 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
| |