Search Results for

    Show / Hide Table of Contents

    Class MulticastTransform<TInputOutput>

    A dataflow worker with one input port and one or more output ports, all of the same type, that sends all input rows to all output ports.

    Note: All mapped column data types must support multi-copy, unless there is only a single output port or you supply a custom copy function to the worker.

    With a single output port, the incoming rows are simply forwarded to the output port.

    Note: Use the factory methods in MulticastTransformFactory to create instances of this class.

    Note that output ports can be added after the worker is created (but before it or its siblings have started) by repeatedly calling Create<TOutput>(String). This can be particularly useful when generating workers in a loop.

    Inheritance
    Object
    WorkerParent
    WorkerBase
    WorkerBase<MulticastTransform<TInputOutput>>
    MulticastTransform<TInputOutput>
    Implements
    IDisposeOnFinished
    Inherited Members
    WorkerBase<MulticastTransform<TInputOutput>>.AddCompletedCallback(Func<MulticastTransform<TInputOutput>, OutcomeStatus, Task<OutcomeStatus>>)
    WorkerBase<MulticastTransform<TInputOutput>>.AddRanCallback(Func<MulticastTransform<TInputOutput>, OutcomeStatus, WorkerParentChildrenState, Task<OutcomeStatus>>)
    WorkerBase<MulticastTransform<TInputOutput>>.AddStartingCallback(Func<MulticastTransform<TInputOutput>, Task<ProgressStatus>>)
    WorkerBase.AddCompletedCallback(Func<WorkerBase, OutcomeStatus, Task<OutcomeStatus>>)
    WorkerBase.AddRanCallback(Func<WorkerBase, OutcomeStatus, WorkerParentChildrenState, Task<OutcomeStatus>>)
    WorkerBase.AddStartingCallback(Func<WorkerBase, Task<ProgressStatus>>)
    WorkerBase.DefaultIsStartable()
    WorkerBase.ErroredPortErrorsWorkerProtected
    WorkerBase.ErrorOutputs
    WorkerBase.EscalateError
    WorkerBase.Inputs
    WorkerBase.IsStartable
    WorkerBase.Outputs
    WorkerBase.Parent
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, WorkerBase, WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(TLastWorker)
    WorkerParent.AddChildCompletedCallback(Action<WorkerBase>)
    WorkerParent.AddStartingChildrenCallback(Func<WorkerParent, Task<ProgressStatus>>)
    WorkerParent.BytesPerRowBuffer
    WorkerParent.Children
    WorkerParent.DisposeOnFinished<TDisposable>(TDisposable)
    WorkerParent.GetDownstreamFactory<TInput>()
    WorkerParent.HasChildren
    WorkerParent.IsCanceled
    WorkerParent.IsCompleted
    WorkerParent.IsCreated
    WorkerParent.IsError
    WorkerParent.IsFailed
    WorkerParent.IsFatal
    WorkerParent.IsRunning
    WorkerParent.IsSucceeded
    WorkerParent.KeepChildrenLevels
    WorkerParent.Locator
    WorkerParent.LogFactory
    WorkerParent.Logger
    WorkerParent.MaxRunningChildren
    WorkerParent.Name
    WorkerParent.RemoveChildren()
    WorkerParent.RescheduleChildren()
    WorkerParent.RunChildrenAsync(Boolean)
    WorkerParent.RunChildrenAsync()
    WorkerParent.Status
    WorkerParent.Item[String]
    WorkerParent.ToString()
    WorkerParent.WorkerSystem
    WorkerParent.DebugCommands
    WorkerParent.AggregateErrorOutputRows
    WorkerParent.AggregateOutputRows
    WorkerParent.AggregateWorkersCompleted
    WorkerParent.InstantCompleted
    WorkerParent.InstantCreated
    WorkerParent.InstantStarted
    WorkerParent.RunningDuration
    Namespace: actionETL
    Assembly: actionETL.dll
    Syntax
    public class MulticastTransform<TInputOutput> : WorkerBase<MulticastTransform<TInputOutput>>, IDisposeOnFinished where TInputOutput : class
    Type Parameters
    Name Description
    TInputOutput

    The type of each incoming and outgoing row.

    Properties

    Input

    Gets the input port for consuming rows from the upstream worker.

    Declaration
    public InputPort<TInputOutput> Input { get; }
    Property Value
    Type Description
    InputPort<TInputOutput>

    TypedOutputs

    Gets the typed output ports.

    Declaration
    public OutputPortCollection<TInputOutput> TypedOutputs { get; }
    Property Value
    Type Description
    OutputPortCollection<TInputOutput>

    Methods

    RunAsync()

    This method can be overridden to add custom functionality to the derived worker that runs before and after the main processing. In this case, the base class base.RunAsync() must be called for the worker to function correctly.

    Typically, this worker is used without overriding this method.

    Declaration
    protected override async Task<OutcomeStatus> RunAsync()
    Returns
    Type Description
    Task<OutcomeStatus>

    A Task describing the success or failure of the worker. An asynchronous async implementation would e.g. return OutcomeStatus.Succeeded on success, while a synchronous implementation would return OutcomeStatus.SucceededTask.

    Overrides
    WorkerParent.RunAsync()

    Implements

    IDisposeOnFinished

    See Also

    MulticastTransformFactory
    Dataflow Columns
    In This Article
    Back to top Copyright © 2023 Envobi Ltd