Class Tcp.Connect
The Connect message is sent to the TCP manager actor, which is obtained via Manager. Either the manager replies with a Tcp.CommandFailed or the actor handling the new connection replies with a Tcp.Connected message.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class Connect : Tcp.Command, INoSerializationVerificationNeeded
Constructors
| Improve this Doc View SourceConnect(EndPoint, EndPoint, IEnumerable<Inet.SocketOption>, Nullable<TimeSpan>, Boolean)
TBD
Declaration
public Connect(EndPoint remoteAddress, EndPoint localAddress = null, IEnumerable<Inet.SocketOption> options = null, TimeSpan? timeout = null, bool pullMode = false)
Parameters
Type | Name | Description |
---|---|---|
EndPoint | remoteAddress | TBD |
EndPoint | localAddress | TBD |
IEnumerable<Inet.SocketOption> | options | TBD |
Nullable<TimeSpan> | timeout | TBD |
Boolean | pullMode | TBD |
Properties
| Improve this Doc View SourceLocalAddress
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 |
RemoteAddress
TBD
Declaration
public EndPoint RemoteAddress { get; }
Property Value
Type | Description |
---|---|
EndPoint |
Timeout
TBD
Declaration
public TimeSpan? Timeout { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |