Class/Object

fr.acinq.eclair.io

Peer

Related Docs: object Peer | package io

Permalink

class Peer extends FSMDiagnosticActorLogging[State, Data]

Created by PM on 26/08/2016.

Linear Supertypes
FSMDiagnosticActorLogging[Peer.State, Data], FSM[Peer.State, Data], ActorLogging, Listeners, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Peer
  2. FSMDiagnosticActorLogging
  3. FSM
  4. ActorLogging
  5. Listeners
  6. Actor
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Peer(nodeParams: NodeParams, remoteNodeId: PublicKey, authenticator: ActorRef, watcher: ActorRef, router: ActorRef, relayer: ActorRef, paymentHandler: ActorRef, wallet: EclairWallet)

    Permalink

Type Members

  1. type Event = akka.actor.FSM.Event[Data]

    Permalink
    Definition Classes
    FSM
  2. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  3. type State = akka.actor.FSM.State[Peer.State, Data]

    Permalink
    Definition Classes
    FSM
  4. type StateFunction = PartialFunction[Event, State]

    Permalink
    Definition Classes
    FSM
  5. type StopEvent = akka.actor.FSM.StopEvent[Peer.State, Data]

    Permalink
    Definition Classes
    FSM
  6. type Timeout = Option[FiniteDuration]

    Permalink
    Definition Classes
    FSM
  7. final class TransformHelper extends AnyRef

    Permalink
    Definition Classes
    FSM
  8. type TransitionHandler = PartialFunction[(Peer.State, Peer.State), Unit]

    Permalink
    Definition Classes
    FSM

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. val ->: akka.actor.FSM.->.type

    Permalink
    Definition Classes
    FSM
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val Event: akka.actor.FSM.Event.type

    Permalink
    Definition Classes
    FSM
  6. val StateTimeout: akka.actor.FSM.StateTimeout.type

    Permalink
    Definition Classes
    FSM
  7. val StopEvent: akka.actor.FSM.StopEvent.type

    Permalink
    Definition Classes
    FSM
  8. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  11. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  12. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Definition Classes
    FSMDiagnosticActorLogging → Actor
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. final def cancelTimer(name: String): Unit

    Permalink
    Definition Classes
    FSM
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  16. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  17. def createNewChannel(nodeParams: NodeParams, funder: Boolean, fundingAmount: Satoshi, origin_opt: Option[ActorRef]): (ActorRef, LocalParams)

    Permalink
  18. val diagLog: DiagnosticLoggingAdapter

    Permalink
    Definition Classes
    FSMDiagnosticActorLogging
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def getPeerAddressFromNodeAnnouncement: Option[InetSocketAddress]

    Permalink
  23. def gossip(msg: Any)(implicit sender: ActorRef): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Listeners
  24. final def goto(nextStateName: Peer.State): State

    Permalink
    Definition Classes
    FSM
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def initialize(): Unit

    Permalink
    Definition Classes
    FSM
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def isTimerActive(name: String): Boolean

    Permalink
    Definition Classes
    FSM
  29. def listenerManagement: akka.actor.Actor.Receive

    Permalink
    Attributes
    protected
    Definition Classes
    Listeners
  30. val listeners: Set[ActorRef]

    Permalink
    Attributes
    protected
    Definition Classes
    Listeners
  31. def log: LoggingAdapter

    Permalink
    Definition Classes
    FSMDiagnosticActorLogging → ActorLogging
  32. def logTermination(reason: Reason): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FSM
  33. def mdc(currentMessage: Any): MDC

    Permalink
    Definition Classes
    PeerFSMDiagnosticActorLogging
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def nextStateData: Data

    Permalink
    Definition Classes
    FSM
  36. val nodeParams: NodeParams

    Permalink
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  39. final def onTermination(terminationHandler: PartialFunction[StopEvent, Unit]): Unit

    Permalink
    Definition Classes
    FSM
  40. final def onTransition(transitionHandler: TransitionHandler): Unit

    Permalink
    Definition Classes
    FSM
  41. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  42. def postStop(): Unit

    Permalink
    Definition Classes
    FSM → Actor
  43. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  44. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  45. def receive: Receive

    Permalink
    Definition Classes
    FSM → Actor
  46. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  47. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  48. final def setStateTimeout(state: Peer.State, timeout: Timeout): Unit

    Permalink
    Definition Classes
    FSM
  49. final def setTimer(name: String, msg: Any, timeout: FiniteDuration, repeat: Boolean): Unit

    Permalink
    Definition Classes
    FSM
  50. def spawnChannel(nodeParams: NodeParams, origin_opt: Option[ActorRef]): ActorRef

    Permalink
  51. final def startWith(stateName: Peer.State, stateData: Data, timeout: Timeout): Unit

    Permalink
    Definition Classes
    FSM
  52. final def stateData: Data

    Permalink
    Definition Classes
    FSM
  53. final def stateName: Peer.State

    Permalink
    Definition Classes
    FSM
  54. final def stay(): State

    Permalink
    Definition Classes
    FSM
  55. final def stop(reason: Reason, stateData: Data): State

    Permalink
    Definition Classes
    FSM
  56. final def stop(reason: Reason): State

    Permalink
    Definition Classes
    FSM
  57. final def stop(): State

    Permalink
    Definition Classes
    FSM
  58. def stopPeer(): State

    Permalink
  59. val supervisorStrategy: OneForOneStrategy

    Permalink
    Definition Classes
    Peer → Actor
  60. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  61. def timestampInRange(msg: RoutingMessage, origins: Set[GossipOrigin], gossipTimestampFilter_opt: Option[GossipTimestampFilter]): Boolean

    Permalink

    Peer may want to filter announcements based on timestamp.

    Peer may want to filter announcements based on timestamp.

    gossipTimestampFilter_opt

    optional gossip timestamp range

    returns

    • true if this is our own gossip
    • true if there is a filter and msg has no timestamp, or has one that matches the filter
    • false otherwise
  62. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  63. implicit final def total2pf(transitionHandler: (Peer.State, Peer.State) ⇒ Unit): TransitionHandler

    Permalink
    Definition Classes
    FSM
  64. final def transform(func: StateFunction): TransformHelper

    Permalink
    Definition Classes
    FSM
  65. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  66. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def when(stateName: Peer.State, stateTimeout: FiniteDuration)(stateFunction: StateFunction): Unit

    Permalink
    Definition Classes
    FSM
  70. final def whenUnhandled(stateFunction: StateFunction): Unit

    Permalink
    Definition Classes
    FSM

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from FSM[Peer.State, Data]

Inherited from ActorLogging

Inherited from Listeners

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped