akka.stream.io

StreamTcpMessage

object StreamTcpMessage

Java API: Factory methods for the messages of StreamTcp.

Source
StreamIO.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StreamTcpMessage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def bind(settings: MaterializerSettings, localAddress: InetSocketAddress): Bind

    Java API: Message to open a listening socket without specifying options.

  6. def bind(settings: MaterializerSettings, localAddress: InetSocketAddress, backlog: Int, options: Iterable[SocketOption]): Bind

    Java API: The Bind message is send to the StreamTcp manager actor, which is obtained via StreamTcp.get(system).manager(), in order to bind to a listening socket.

    Java API: The Bind message is send to the StreamTcp manager actor, which is obtained via StreamTcp.get(system).manager(), 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.

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def connect(settings: MaterializerSettings, remoteAddress: InetSocketAddress): Connect

    Java API: Message to Connect to the given remoteAddress without binding to a local address and without specifying options.

  9. def connect(settings: MaterializerSettings, remoteAddress: InetSocketAddress, localAddress: InetSocketAddress, options: Iterable[SocketOption], timeout: FiniteDuration): Connect

    Java API: The Connect message is sent to the StreamTcp manager actor, which is obtained via StreamTcp.get(system).manager().

    Java API: The Connect message is sent to the StreamTcp manager actor, which is obtained via StreamTcp.get(system).manager(). 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"

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  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 AnyRef

Inherited from Any

Ungrouped