public static class TwoPartyDealFlow.Instigator
extends Primary
One side of the flow for inserting a pre-agreed deal.
Primary.Companion
Companion
Constructor and Description |
---|
Instigator(Party otherParty,
TwoPartyDealFlow.AutoOffer payload,
java.security.KeyPair myKeyPair,
ProgressTracker progressTracker)
One side of the flow for inserting a pre-agreed deal.
|
Modifier and Type | Method and Description |
---|---|
java.security.KeyPair |
getMyKeyPair() |
NodeInfo |
getNotaryNode() |
Party |
getOtherParty() |
TwoPartyDealFlow.AutoOffer |
getPayload() |
ProgressTracker |
getProgressTracker()
Override this to provide a
class ProgressTracker . If one is provided and stepped, the framework will do something
helpful with the progress reports. If this flow is invoked as a subflow of another, then the
tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track
progress. |
call, computeOurSignature, getCounterpartyMarker, getMyKeyPair, getNotaryNode, getOtherParty, getPartialTransaction, getPayload, getProgressTracker, verifyPartialTransaction
call, getCounterpartyMarker, getLogger, getProgressTracker, getRunId, getServiceHub, getStateMachine, receive, send, sendAndReceive, setStateMachine, subFlow, subFlow, track
public Instigator(Party otherParty, TwoPartyDealFlow.AutoOffer payload, java.security.KeyPair myKeyPair, ProgressTracker progressTracker)
One side of the flow for inserting a pre-agreed deal.
progressTracker
- Override this to provide a class ProgressTracker
. If one is provided and stepped, the framework will do something
helpful with the progress reports. If this flow is invoked as a subflow of another, then the
tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track
progress.
Note that this has to return a tracker before the flow is invoked. You can't change your mind half way through.
public NodeInfo getNotaryNode()
public Party getOtherParty()
public TwoPartyDealFlow.AutoOffer getPayload()
public java.security.KeyPair getMyKeyPair()
public ProgressTracker getProgressTracker()
Override this to provide a class ProgressTracker
. If one is provided and stepped, the framework will do something
helpful with the progress reports. If this flow is invoked as a subflow of another, then the
tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track
progress.
Note that this has to return a tracker before the flow is invoked. You can't change your mind half way through.
class ProgressTracker