Class/Object

fr.acinq.eclair.payment.send

MultiPartPaymentLifecycle

Related Docs: object MultiPartPaymentLifecycle | package send

Permalink

class MultiPartPaymentLifecycle extends FSMDiagnosticActorLogging[State, Data]

Sender for a multi-part payment (see https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md#basic-multi-part-payments). The payment will be split into multiple sub-payments that will be sent in parallel.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiPartPaymentLifecycle
  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 MultiPartPaymentLifecycle(nodeParams: NodeParams, cfg: SendPaymentConfig, relayer: ActorRef, router: ActorRef, register: ActorRef)

    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[MultiPartPaymentLifecycle.State, Data]

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

    Permalink
    Definition Classes
    FSM
  5. type StopEvent = akka.actor.FSM.StopEvent[MultiPartPaymentLifecycle.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[(MultiPartPaymentLifecycle.State, MultiPartPaymentLifecycle.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. val diagLog: DiagnosticLoggingAdapter

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def gossip(msg: Any)(implicit sender: ActorRef): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Listeners
  22. final def goto(nextStateName: MultiPartPaymentLifecycle.State): State

    Permalink
    Definition Classes
    FSM
  23. def handleChildFailure(pf: PaymentFailed, d: PaymentProgress): Option[PaymentAborted]

    Permalink
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. val id: UUID

    Permalink
  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
  34. def myStop(origin: ActorRef, event: Either[PaymentFailed, PaymentSent]): State

    Permalink
  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. final def nextStateData: Data

    Permalink
    Definition Classes
    FSM
  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. val paymentHash: ByteVector32

    Permalink
  42. def postRestart(reason: Throwable): Unit

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

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

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

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

    Permalink
    Definition Classes
    FSM → Actor
  47. def reply(to: ActorRef, e: PaymentEvent): Unit

    Permalink
  48. implicit final val self: ActorRef

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

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

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

    Permalink
    Definition Classes
    FSM
  52. def spawnChildPaymentFsm(childId: UUID): ActorRef

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

    Permalink
    Definition Classes
    FSM
  54. final def stateData: Data

    Permalink
    Definition Classes
    FSM
  55. final def stateName: MultiPartPaymentLifecycle.State

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

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

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

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

    Permalink
    Definition Classes
    FSM
  60. def supervisorStrategy: SupervisorStrategy

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  63. implicit final def total2pf(transitionHandler: (MultiPartPaymentLifecycle.State, MultiPartPaymentLifecycle.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: MultiPartPaymentLifecycle.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[MultiPartPaymentLifecycle.State, Data]

Inherited from ActorLogging

Inherited from Listeners

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped