Skip to main content

EdaReceiverNode

Namespace: Meshmakers.Octo.Communication.EdaAdapter.Nodes

Node that receives messages from the HttpAdapter.

public class EdaReceiverNode : IPipelineNode

Inheritance Object → EdaReceiverNode
Implements IPipelineNode

Constructors​

EdaReceiverNode(NodeDelegate, IAdapterConfigService, IEdaReceiverService, IEdaMessageCreator)​

Node that receives messages from the HttpAdapter.

public EdaReceiverNode(NodeDelegate next, IAdapterConfigService adapterConfigService, IEdaReceiverService receiverService, IEdaMessageCreator creator)

Parameters​

next NodeDelegate
Delegate to the next node

adapterConfigService IAdapterConfigService
Resolves the HttpAdapter connection settings

receiverService IEdaReceiverService
Client that fetches messages from the HttpAdapter

creator IEdaMessageCreator
Turns the received raw messages into EDA messages

Methods​

ProcessObjectAsync(IDataContext, INodeContext)​

public Task ProcessObjectAsync(IDataContext dataContext, INodeContext nodeContext)

Parameters​

dataContext IDataContext

nodeContext INodeContext

Returns​

Task