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 Tcp.Bind : Tcp.Command, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceBind(IActorRef, EndPoint, int, IEnumerable<SocketOption>, bool)
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 |
int | backlog | TBD |
IEnumerable<Inet.SocketOption> | options | TBD |
bool | pullMode | TBD |
Properties
| Edit this page View SourceBacklog
TBD
Declaration
public int Backlog { get; }
Property Value
Type | Description |
---|---|
int |
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 |
---|---|
bool |
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |