public static class IssuerFlow.Issuer
extends FlowLogic
Issuer refers to a Node acting as a Bank Issuer of interface FungibleAsset
, and processes requests from a class IssuerFlow.IssuanceRequester
client.
Returns the generated transaction representing the transfer of the interface FungibleAsset
to the issue requester.
Modifier and Type | Class and Description |
---|---|
static class |
Issuer.Companion |
static class |
Issuer.Service |
Modifier and Type | Field and Description |
---|---|
static Issuer.Companion |
Companion |
Constructor and Description |
---|
Issuer(Party otherParty)
Issuer refers to a Node acting as a Bank Issuer of
interface FungibleAsset , and processes requests from a class IssuerFlow.IssuanceRequester client.
Returns the generated transaction representing the transfer of the interface FungibleAsset to the issue requester. |
Modifier and Type | Method and Description |
---|---|
SignedTransaction |
call()
This is where you fill out your business logic. The returned object will usually be ignored, but can be
helpful if this flow is meant to be used as a subflow.
|
Party |
getOtherParty() |
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, getCounterpartyMarker, getLogger, getProgressTracker, getRunId, getServiceHub, getStateMachine, receive, send, sendAndReceive, setStateMachine, subFlow, subFlow, track
public static Issuer.Companion Companion
public Issuer(Party otherParty)
Issuer refers to a Node acting as a Bank Issuer of interface FungibleAsset
, and processes requests from a class IssuerFlow.IssuanceRequester
client.
Returns the generated transaction representing the transfer of the interface FungibleAsset
to the issue requester.
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
public SignedTransaction call()
This is where you fill out your business logic. The returned object will usually be ignored, but can be helpful if this flow is meant to be used as a subflow.
public Party getOtherParty()