Object

ru.dgis.reactivezmq

ZMQSource

Related Doc: package reactivezmq

Permalink

object ZMQSource

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZMQSource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Control extends AnyRef

    Permalink

    The means to control the Source after materialization.

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(context: Context, mode: Int, timeout: FiniteDuration, addresses: List[String]): Source[ByteString, Control]

    Permalink

    Creates a ZMQ socket and wraps it with a Source

    Creates a ZMQ socket and wraps it with a Source

    The Source:

    • emits when there is demand and the data available in the socket
    • completes when graceful stop is initiated and the remaining data is delivered from the socket
    • stops the delivery if downstream cancels the stream possibly loosing some data still remaining in the socket
    context

    context to create socket with

    mode

    socket type to be created. Must be ZMQ.PULL or ZMQ.SUB

    timeout

    receive timeout for socket

    addresses

    a list of ZMQ endpoints to connect to

    returns

    a Source of bytes

  5. def apply(socketFactory: () ⇒ Socket, addresses: List[String]): Source[ByteString, Control]

    Permalink

    Creates a Source of bytes wrapping a ZMQ socket provided by the factory.

    Creates a Source of bytes wrapping a ZMQ socket provided by the factory.

    The sockets from the factory:

    • must have ZMQ.PULL or ZMQ.SUB type
    • must have a non-negative receive timeout set

    The Source:

    • emits when there is demand and the data available in the socket
    • completes when graceful stop is initiated and the remaining data is delivered from the socket
    • stops the delivery if downstream cancels the stream possibly loosing some data still remaining in the socket
    socketFactory

    a factory of ZMQ sockets

    addresses

    a list of ZMQ endpoints to connect to

    returns

    a Source of bytes

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped