Class Tcp.Bind
The Bind message is send to the TCP manager actor, which is obtained via Manager in order to bind to a listening socket. The manager replies either with a Tcp.CommandFailed or the actor handling the listen socket replies with a Tcp.Bound message. If the local port is set to 0 in the Bind message, then the Tcp.Bound message should be inspected to find the actual port which was bound to.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class Bind : Tcp.Command, INoSerializationVerificationNeeded
Constructors
| Improve this Doc View SourceBind(IActorRef, EndPoint, Int32, IEnumerable<Inet.SocketOption>, Boolean)
TBD
Declaration
public Bind(IActorRef handler, EndPoint localAddress, int backlog = 100, IEnumerable<Inet.SocketOption> options = null, bool pullMode = false)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | handler | TBD |
EndPoint | localAddress | TBD |
Int32 | backlog | TBD |
IEnumerable<Inet.SocketOption> | options | TBD |
Boolean | pullMode | TBD |
Properties
| Improve this Doc View SourceBacklog
TBD
Declaration
public int Backlog { get; }
Property Value
Type | Description |
---|---|
Int32 |
Handler
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> |
PullMode
TBD
Declaration
public bool PullMode { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |