Packages

c

akka.stream.javadsl.Tcp

IncomingConnection

class IncomingConnection extends AnyRef

Represents an accepted incoming TCP connection.

Source
Tcp.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IncomingConnection
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def flow: Flow[ByteString, ByteString, NotUsed]

    A flow representing the client on the other side of the connection.

    A flow representing the client on the other side of the connection. This flow can be materialized only once.

  2. def handleWith[Mat](handler: Flow[ByteString, ByteString, Mat], materializer: Materializer): Mat

    Handles the connection using the given flow, which is materialized exactly once and the respective materialized value is returned.

    Handles the connection using the given flow, which is materialized exactly once and the respective materialized value is returned.

    Convenience shortcut for: flow.join(handler).run().

  3. def localAddress: InetSocketAddress

    The local address this connection is bound to.

  4. def remoteAddress: InetSocketAddress

    The remote address this connection is bound to.