Module io.netty5.transport
Package io.netty5.channel
Interface AddressedEnvelope<M,A extends SocketAddress>
-
- Type Parameters:
M- the type of the wrapped messageA- the type of the address
- All Known Implementing Classes:
BufferAddressedEnvelope,DatagramDnsQuery,DatagramDnsResponse,DatagramPacket,DefaultAddressedEnvelope,DefaultBufferAddressedEnvelope,SegmentedDatagramPacket
public interface AddressedEnvelope<M,A extends SocketAddress>A message that wraps another message with a sender address and a recipient address.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mcontent()Returns the message wrapped by this envelope message.Arecipient()Returns the address of the recipient of this message.Asender()Returns the address of the sender of this message.
-