Package io.iworkflow.core.communication
Interface Communication
-
- All Known Implementing Classes:
CommunicationImpl
public interface Communication
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
publishInternalChannel(java.lang.String channelName, java.lang.Object value)
Publish a value to an internal Channelvoid
triggerStateMovements(StateMovement... stateMovements)
trigger new state movements as the RPC results NOTE: closing workflows like completing/failing are not supported NOTE: Only used in RPC -- cannot be used in state APIs
-
-
-
Method Detail
-
publishInternalChannel
void publishInternalChannel(java.lang.String channelName, java.lang.Object value)
Publish a value to an internal Channel- Parameters:
channelName
- the channel name to send valuevalue
- the value to be sent
-
triggerStateMovements
void triggerStateMovements(StateMovement... stateMovements)
trigger new state movements as the RPC results NOTE: closing workflows like completing/failing are not supported NOTE: Only used in RPC -- cannot be used in state APIs- Parameters:
stateMovements
-
-
-