Package io.iworkflow.core.communication
Class CommunicationImpl
java.lang.Object
io.iworkflow.core.communication.CommunicationImpl
- All Implemented Interfaces:
Communication
-
Constructor Summary
ConstructorsConstructorDescriptionCommunicationImpl(TypeStore typeStore, ObjectEncoder objectEncoder, boolean allowTriggerStateMovements) -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishInternalChannel(String channelName, Object value) Publish a value to an internal ChannelvoidtriggerStateMovements(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
-
Constructor Details
-
CommunicationImpl
public CommunicationImpl(TypeStore typeStore, ObjectEncoder objectEncoder, boolean allowTriggerStateMovements)
-
-
Method Details
-
publishInternalChannel
Description copied from interface:CommunicationPublish a value to an internal Channel- Specified by:
publishInternalChannelin interfaceCommunication- Parameters:
channelName- the channel name to send valuevalue- the value to be sent
-
triggerStateMovements
Description copied from interface:Communicationtrigger 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- Specified by:
triggerStateMovementsin interfaceCommunication
-
getToPublishInternalChannels
-
getStateMovements
-