Class Udp.Received
When a listener actor receives a datagram from its socket it will send it to the handler designated in the Udp.Bind message using this message type.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public sealed class Udp.Received : Udp.Event, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceReceived(ByteString, EndPoint)
Creates a new Received event with the specified data and sender.
Declaration
public Received(ByteString data, EndPoint sender)
Parameters
Type | Name | Description |
---|---|---|
ByteString | data | The UDP datagram payload. |
EndPoint | sender | The remote endpoint that sent the datagram. |
Properties
| Edit this page View SourceData
The UDP datagram payload.
Declaration
public ByteString Data { get; }
Property Value
Type | Description |
---|---|
ByteString |
Sender
The remote endpoint that sent the datagram.
Declaration
public EndPoint Sender { get; }
Property Value
Type | Description |
---|---|
EndPoint |
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |