Package io.iworkflow.core.communication
Interface Communication
- All Known Implementing Classes:
CommunicationImpl
public interface Communication
-
Method Summary
Modifier and TypeMethodDescriptionvoid
publishInternalChannel
(String channelName, 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 Details
-
publishInternalChannel
Publish a value to an internal Channel- Parameters:
channelName
- the channel name to send valuevalue
- the value to be sent
-
triggerStateMovements
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
-
-