case class NodeCallbackStreamManager(callbacks: NodeCallbacks, overflowStrategy: OverflowStrategy = OverflowStrategy.backpressure, maxBufferSize: Int = 16)(implicit system: ActorSystem) extends NodeCallbacks with StartStopAsync[Unit] with BitcoinSLogger with Product with Serializable
Creates a wrapper around the give node callbacks with a stream
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NodeCallbackStreamManager
- Serializable
- Product
- Equals
- StartStopAsync
- StartStop
- NodeCallbacks
- BitcoinSLogger
- NodeApiCallbacks
- ModuleCallbacks
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new NodeCallbackStreamManager(callbacks: NodeCallbacks, overflowStrategy: OverflowStrategy = OverflowStrategy.backpressure, maxBufferSize: Int = 16)(implicit system: ActorSystem)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: NodeCallbacks): NodeCallbacks
Consider calling stop() before creating a new instance of callbacks this is because the previous stream will keep running and a new stream will be created
Consider calling stop() before creating a new instance of callbacks this is because the previous stream will keep running and a new stream will be created
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks → ModuleCallbacks
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val callbacks: NodeCallbacks
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def executeOnBlockHeadersReceivedCallbacks(headers: Vector[BlockHeader])(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- def executeOnBlockReceivedCallbacks(block: Block)(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks → NodeApiCallbacks
- def executeOnCompactFiltersReceivedCallbacks(blockFilters: Vector[(DoubleSha256DigestBE, GolombFilter)])(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- def executeOnMerkleBlockReceivedCallbacks(merkleBlock: MerkleBlock, txs: Vector[Transaction])(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- def executeOnTxReceivedCallbacks(tx: Transaction)(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- val maxBufferSize: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onBlockHeadersReceived: CallbackHandler[Vector[BlockHeader], OnBlockHeadersReceived]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- def onBlockReceived: CallbackHandler[Block, OnBlockReceived]
- Definition Classes
- NodeCallbackStreamManager → NodeApiCallbacks
- def onCompactFiltersReceived: CallbackHandler[Vector[(DoubleSha256DigestBE, GolombFilter)], OnCompactFiltersReceived]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- def onMerkleBlockReceived: CallbackHandler[(MerkleBlock, Vector[Transaction]), OnMerkleBlockReceived]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- def onTxReceived: CallbackHandler[Transaction, OnTxReceived]
- Definition Classes
- NodeCallbackStreamManager → NodeCallbacks
- val overflowStrategy: OverflowStrategy
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def start(): Future[Unit]
- Definition Classes
- NodeCallbackStreamManager → StartStop
- def stop(): Future[Unit]
Completes all streams and waits until they are fully drained
Completes all streams and waits until they are fully drained
- Definition Classes
- NodeCallbackStreamManager → StartStop
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()