public class FlowHandleImpl<A> implements FlowHandle<A>
Constructor and Description |
---|
FlowHandleImpl(StateMachineRunId id,
CordaFuture<A> returnValue) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Use this function for flows whose returnValue is not going to be used, so as to free up server resources.
|
StateMachineRunId |
component1()
The started state machine
|
CordaFuture<A> |
component2()
A
|
FlowHandleImpl<A> |
copy(StateMachineRunId id,
CordaFuture<A> returnValue) |
boolean |
equals(java.lang.Object p) |
StateMachineRunId |
getId()
The started state machine
|
CordaFuture<A> |
getReturnValue()
A
|
int |
hashCode() |
java.lang.String |
toString() |
close, getId, getReturnValue
public FlowHandleImpl(StateMachineRunId id, CordaFuture<A> returnValue)
id
- The started state machine's ID.returnValue
- A interface CordaFuture
of the flow's return value.public void close()
Use this function for flows whose returnValue is not going to be used, so as to free up server resources.
public StateMachineRunId getId()
The started state machine
's ID.
public CordaFuture<A> getReturnValue()
A
interface CordaFuture
of the flow's return value.
interface CordaFuture
public StateMachineRunId component1()
The started state machine
's ID.
public CordaFuture<A> component2()
A
interface CordaFuture
of the flow's return value.
interface CordaFuture
public FlowHandleImpl<A> copy(StateMachineRunId id, CordaFuture<A> returnValue)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)