final case class IncomingConnection(localAddress: InetSocketAddress, remoteAddress: InetSocketAddress, flow: Flow[ByteString, ByteString, NotUsed]) extends Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- IncomingConnection
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new IncomingConnection(localAddress: InetSocketAddress, remoteAddress: InetSocketAddress, flow: [, , NotUsed])
Value Members
- val flow: [, , NotUsed]
- def handleWith[Mat](handler: [, ByteString, Mat])(implicit materializer: Materializer): Mat
Handles the connection using the given flow, which is materialized exactly once and the respective materialized instance is returned.
Handles the connection using the given flow, which is materialized exactly once and the respective materialized instance is returned.
Convenience shortcut for:
flow.joinMat(handler)(Keep.right).run()
. - val localAddress: InetSocketAddress
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val remoteAddress: InetSocketAddress
Represents an accepted incoming TCP connection.