Package io.iworkflow.core.communication
Class CommunicationImpl
- java.lang.Object
-
- io.iworkflow.core.communication.CommunicationImpl
-
- All Implemented Interfaces:
Communication
public class CommunicationImpl extends java.lang.Object implements Communication
-
-
Constructor Summary
Constructors Constructor Description CommunicationImpl(java.util.Map<java.lang.String,java.lang.Class<?>> nameToTypeMap, ObjectEncoder objectEncoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<EncodedObject>>
getToPublishInterStateChannels()
void
publishInterstateChannel(java.lang.String channelName, java.lang.Object value)
Publish a value to an interstate Channel
-
-
-
Constructor Detail
-
CommunicationImpl
public CommunicationImpl(java.util.Map<java.lang.String,java.lang.Class<?>> nameToTypeMap, ObjectEncoder objectEncoder)
-
-
Method Detail
-
publishInterstateChannel
public void publishInterstateChannel(java.lang.String channelName, java.lang.Object value)
Description copied from interface:Communication
Publish a value to an interstate Channel- Specified by:
publishInterstateChannel
in interfaceCommunication
- Parameters:
channelName
- the channel name to send valuevalue
- the value to be sent
-
getToPublishInterStateChannels
public java.util.Map<java.lang.String,java.util.List<EncodedObject>> getToPublishInterStateChannels()
-
-