Class UdpConnected.Connect
Send this message to the Manager in order to bind to a local
port (optionally with the chosen localAddress
) and create a UDP socket
which is restricted to sending to and receiving from the given remoteAddress
.
All received datagrams will be sent to the designated handler
actor.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public sealed class Connect : UdpConnected.Command, INoSerializationVerificationNeeded
Constructors
| Improve this Doc View SourceConnect(IActorRef, EndPoint, EndPoint, IEnumerable<Inet.SocketOption>)
TBD
Declaration
public Connect(IActorRef handler, EndPoint remoteAddress, EndPoint localAddress = null, IEnumerable<Inet.SocketOption> options = null)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | handler | TBD |
EndPoint | remoteAddress | TBD |
EndPoint | localAddress | TBD |
IEnumerable<Inet.SocketOption> | options | TBD |
Properties
| Improve this Doc View SourceHandler
TBD
Declaration
public IActorRef Handler { get; }
Property Value
Type | Description |
---|---|
IActorRef |
LocalAddress
TBD
Declaration
public EndPoint LocalAddress { get; }
Property Value
Type | Description |
---|---|
EndPoint |
Options
TBD
Declaration
public IEnumerable<Inet.SocketOption> Options { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Inet.SocketOption> |
RemoteAddress
TBD
Declaration
public EndPoint RemoteAddress { get; }
Property Value
Type | Description |
---|---|
EndPoint |