Packages

t

akka.io.Tcp

ConnectionClosed

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
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectionClosed
  2. DeadLetterSuppression
  3. Event
  4. Message
  5. NoSerializationVerificationNeeded
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def getErrorCause: String

    If isErrorClosed returns true, then the error condition can be retrieved by this method.

  2. def isAborted: Boolean

    true iff the connection has been closed in response to an Abort command.

  3. def isConfirmed: Boolean

    true iff the connection has been fully closed in response to a ConfirmedClose command.

  4. def isErrorClosed: Boolean

    true iff the connection has been closed due to an IO error.

  5. def isPeerClosed: Boolean

    true iff the connection has been closed by the peer; in case keepOpenOnPeerClosed is in effect as per the Register command, this connection’s reading half is now closed.