public class FlowHandleWithClientIdImpl<A> implements FlowHandleWithClientId<A>
Constructor and Description |
---|
FlowHandleWithClientIdImpl(StateMachineRunId id,
CordaFuture<A> returnValue,
java.lang.String clientId) |
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
|
java.lang.String |
component3()
The
|
FlowHandleWithClientIdImpl<A> |
copy(StateMachineRunId id,
CordaFuture<A> returnValue,
java.lang.String clientId) |
boolean |
equals(java.lang.Object p) |
java.lang.String |
getClientId()
The
|
StateMachineRunId |
getId()
The started state machine
|
CordaFuture<A> |
getReturnValue()
A
|
int |
hashCode() |
java.lang.String |
toString() |
getClientId
close, getId, getReturnValue
public FlowHandleWithClientIdImpl(StateMachineRunId id, CordaFuture<A> returnValue, java.lang.String clientId)
id
- The started state machine's ID.returnValue
- A interface CordaFuture
of the flow's return value.clientId
- The FlowHandleWithClientId.getClientId
with which the client has started the flow.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 java.lang.String getClientId()
The
FlowHandleWithClientId.getClientId
with which the client has started the flow.
FlowHandleWithClientId.getClientId
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 java.lang.String component3()
The
FlowHandleWithClientId.getClientId
with which the client has started the flow.
FlowHandleWithClientId.getClientId
public FlowHandleWithClientIdImpl<A> copy(StateMachineRunId id, CordaFuture<A> returnValue, java.lang.String clientId)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)