case class PeerManager(paramPeers: Vector[Peer] = Vector.empty, node: NeutrinoNode, walletCreationTimeOpt: Option[Instant])(implicit ec: ExecutionContext, system: ActorSystem, nodeAppConfig: NodeAppConfig, chainAppConfig: ChainAppConfig) extends StartStopAsync[PeerManager] with P2PLogger with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PeerManager
- Serializable
- Product
- Equals
- P2PLogger
- Logging
- StartStopAsync
- StartStop
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PeerManager(paramPeers: Vector[Peer] = Vector.empty, node: NeutrinoNode, walletCreationTimeOpt: Option[Instant])(implicit ec: ExecutionContext, system: ActorSystem, nodeAppConfig: NodeAppConfig, chainAppConfig: ChainAppConfig)
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 addPeer(peer: Peer): Future[Unit]
- def addPeerToTry(peers: Vector[Peer], priority: Int = 0): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def connectedPeerCount: Int
- val dataMessageStream: SourceQueueWithComplete[StreamDataMessageWrapper]
- def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def fetchCompactFilterHeaders(currentDmh: DataMessageHandler): Future[DataMessageHandler]
- 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()
- def getDataMessageHandler: DataMessageHandler
- def getPeerHandler(peer: Peer): Future[Option[PeerHandler]]
- def getPeerMsgSender(peer: Peer): Future[Option[PeerMessageSender]]
- def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def isConnected(peer: Peer): Future[Boolean]
- def isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isInitialized(peer: Peer): Future[Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isReconnection(peer: Peer): Boolean
- def isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val node: NeutrinoNode
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onInitialization(peer: Peer): Future[Unit]
- def onInitializationTimeout(peer: Peer): Future[Unit]
- def onP2PClientStopped(peer: Peer): Future[Unit]
- def onQueryTimeout(payload: ExpectsResponse, peer: Peer): Future[Unit]
- def onReconnect(peer: Peer): Future[Unit]
- def onVersionMessage(peer: Peer, versionMsg: VersionMessage): Unit
- val paramPeers: Vector[Peer]
- def peerDataMap: Map[Peer, PeerData]
- def peerMsgSendersF: Future[Vector[PeerMessageSender]]
- def peers: Vector[Peer]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def randomPeerMsgSenderWithService(services: ServiceIdentifier): Future[PeerMessageSender]
- def randomPeerWithService(services: ServiceIdentifier): Future[Peer]
- def removePeer(peer: Peer): Future[Unit]
- def replacePeer(replacePeer: Peer, withPeer: Peer): Future[Unit]
- def sendResponseTimeout(peer: Peer, payload: NetworkPayload): Future[Unit]
- def start(): Future[PeerManager]
- Definition Classes
- PeerManager → StartStop
- def stop(): Future[PeerManager]
- Definition Classes
- PeerManager → StartStop
- def syncFromNewPeer(): Future[DataMessageHandler]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def updateDataMessageHandler(dataMessageHandler: DataMessageHandler): PeerManager
- 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()
- def waitingForDeletion: Set[Peer]
- val walletCreationTimeOpt: Option[Instant]
- def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging