akka.stream.io

StreamTcp

object StreamTcp extends ExtensionId[StreamTcpExt] with ExtensionIdProvider

Source
StreamIO.scala
Linear Supertypes
ExtensionIdProvider, ExtensionId[StreamTcpExt], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StreamTcp
  2. ExtensionIdProvider
  3. ExtensionId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Bind(settings: MaterializerSettings, localAddress: InetSocketAddress, backlog: Int = 100, options: Traversable[SocketOption] = Nil) extends Product with Serializable

    The Bind message is send to the StreamTcp manager actor, which is obtained via IO(StreamTcp), in order to bind to a listening socket.

    The Bind message is send to the StreamTcp manager actor, which is obtained via IO(StreamTcp), in order to bind to a listening socket. The manager replies with a StreamTcp.TcpServerBinding. If the local port is set to 0 in the Bind message, then the StreamTcp.TcpServerBinding message should be inspected to find the actual port which was bound to.

    localAddress

    The socket address to bind to; use port zero for automatic assignment (i.e. an ephemeral port)

    backlog

    This specifies the number of unaccepted connections the O/S kernel will hold for this port before refusing connections.

    options

    Please refer to akka.io.TcpSO for a list of all supported options.

  2. case class Connect(settings: MaterializerSettings, remoteAddress: InetSocketAddress, localAddress: Option[InetSocketAddress] = None, options: Traversable[SocketOption] = Nil, timeout: Option[FiniteDuration] = None) extends Product with Serializable

    The Connect message is sent to the StreamTcp manager actor, which is obtained via IO(StreamTcp).

    The Connect message is sent to the StreamTcp manager actor, which is obtained via IO(StreamTcp). The manager replies with a StreamTcp.OutgoingTcpConnection message.

    remoteAddress

    is the address to connect to

    localAddress

    optionally specifies a specific address to bind to

    options

    Please refer to akka.io.TcpSO for a list of all supported options.

    timeout

    is the desired connection timeout, null means "no timeout"

  3. case class IncomingTcpConnection(remoteAddress: InetSocketAddress, inputStream: Producer[ByteString], outputStream: Consumer[ByteString]) extends Product with Serializable

  4. case class OutgoingTcpConnection(remoteAddress: InetSocketAddress, localAddress: InetSocketAddress, processor: Processor[ByteString, ByteString]) extends Product with Serializable

  5. case class TcpServerBinding(localAddress: InetSocketAddress, connectionStream: Producer[IncomingTcpConnection]) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def apply(system: ActorSystem): StreamTcpExt

    Definition Classes
    ExtensionId
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createExtension(system: ExtendedActorSystem): StreamTcpExt

    Definition Classes
    StreamTcp → ExtensionId
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def equals(other: Any): Boolean

    Definition Classes
    ExtensionId → AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(system: ActorSystem): StreamTcpExt

    Definition Classes
    StreamTcp → ExtensionId
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. final def hashCode(): Int

    Definition Classes
    ExtensionId → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def lookup(): StreamTcp.type

    Definition Classes
    StreamTcp → ExtensionIdProvider
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExtensionIdProvider

Inherited from ExtensionId[StreamTcpExt]

Inherited from AnyRef

Inherited from Any

Ungrouped