Class Tcp.ConnectionClosed
This is the common interface for all events which indicate that a connection has been closed or half-closed.
Inheritance
Tcp.ConnectionClosed
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class Tcp.ConnectionClosed : Tcp.Event, INoSerializationVerificationNeeded, IDeadLetterSuppression
Properties
| Edit this page View SourceCause
Was there a given cause for why the connection was closed?
Declaration
public virtual string? Cause { get; }
Property Value
Type | Description |
---|---|
string |
IsAborted
Was the connection closed normally?
Declaration
public virtual bool IsAborted { get; }
Property Value
Type | Description |
---|---|
bool |
IsConfirmed
Can we confirm that the connection was open in the first place?
Declaration
public virtual bool IsConfirmed { get; }
Property Value
Type | Description |
---|---|
bool |
IsErrorClosed
Did the connection close due to an IO error?
Declaration
public virtual bool IsErrorClosed { get; }
Property Value
Type | Description |
---|---|
bool |
IsPeerClosed
Is our remote peer closed too?
Declaration
public virtual bool IsPeerClosed { get; }
Property Value
Type | Description |
---|---|
bool |