sealed trait ConnectionClosed extends Event with DeadLetterSuppression
This is the common interface for all events which indicate that a connection has been closed or half-closed.
- Source
- Tcp.scala
- Alphabetic
- By Inheritance
- ConnectionClosed
- DeadLetterSuppression
- Event
- Message
- NoSerializationVerificationNeeded
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
def
getErrorCause: String
If
isErrorClosedreturns true, then the error condition can be retrieved by this method. -
def
isAborted: Boolean
trueiff the connection has been closed in response to anAbortcommand. -
def
isConfirmed: Boolean
trueiff the connection has been fully closed in response to aConfirmedClosecommand. -
def
isErrorClosed: Boolean
trueiff the connection has been closed due to an IO error. -
def
isPeerClosed: Boolean
trueiff the connection has been closed by the peer; in casekeepOpenOnPeerClosedis in effect as per the Register command, this connection’s reading half is now closed.