Class Tcp.Connected
The connection actor sends this message either to the sender of a Tcp.Connect
command (for outbound) or to the handler for incoming connections designated
in the Tcp.Bind message. The connection is characterized by the remoteAddress
and localAddress TCP endpoints.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public sealed class Tcp.Connected : Tcp.Event, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceConnected(EndPoint, EndPoint)
Declaration
public Connected(EndPoint remoteAddress, EndPoint localAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| EndPoint | remoteAddress | |
| EndPoint | localAddress |
Properties
| Edit this page View SourceLocalAddress
The local endpoint of the connection.
Declaration
public EndPoint LocalAddress { get; }
Property Value
| Type | Description |
|---|---|
| EndPoint |
RemoteAddress
The remote endpoint of the connection.
Declaration
public EndPoint RemoteAddress { get; }
Property Value
| Type | Description |
|---|---|
| EndPoint |
Methods
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Edit this page