object ZMQSource
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ZMQSource
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(context: Context, mode: Int, timeout: FiniteDuration, addresses: List[String]): Source[ByteString, Control]
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
-
def
apply(socketFactory: () ⇒ Socket, addresses: List[String]): Source[ByteString, Control]
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )