Module swim.api

Class DownlinkStreamlet

java.lang.Object
swim.structure.Item
swim.structure.Value
swim.structure.Record
swim.dataflow.RecordStreamlet<I,O>
swim.dataflow.AbstractRecordStreamlet<swim.structure.Value,swim.structure.Value>
swim.api.downlink.DownlinkStreamlet
All Implemented Interfaces:
Comparable<swim.structure.Item>, Iterable<swim.structure.Item>, Collection<swim.structure.Item>, List<swim.structure.Item>, swim.codec.Debug, swim.codec.Display, swim.streamlet.GenericStreamlet<swim.structure.Value,swim.structure.Value>, swim.streamlet.Streamlet<swim.structure.Value,swim.structure.Value>, swim.streamlet.StreamletScope<swim.structure.Value>, swim.util.Builder<swim.structure.Item,swim.structure.Record>, swim.util.PairBuilder<swim.structure.Value,swim.structure.Value,swim.structure.Record>

public class DownlinkStreamlet extends swim.dataflow.AbstractRecordStreamlet<swim.structure.Value,swim.structure.Value>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value>
     
    protected Downlink
     
    protected DownlinkRecord
     
    final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value>
     
    protected swim.structure.Value
     
    protected String
     
    protected String
     
    protected String
     
    protected float
     
    protected float
     
    protected String
     
    final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value>
     
    final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value>
     
    final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value>
     
    final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value>
     
    swim.streamlet.Outlet<swim.structure.Value>
     
    final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value>
     
    protected final WarpRef
     

    Fields inherited from class swim.dataflow.AbstractRecordStreamlet

    context, scope, version
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    DownlinkStreamlet(WarpRef warp, swim.streamlet.StreamletScope<? extends swim.structure.Value> scope)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    swim.structure.Value
    getOutput(swim.streamlet.Outlet<? super swim.structure.Value> outlet)
     
    protected void
    onRecohere(int version)
     
    static swim.dataflow.Reifier
     

    Methods inherited from class swim.dataflow.AbstractRecordStreamlet

    add, add, bindInput, castInput, castInput, castInput, castInput, clear, coerceInput, coerceInput, coerceInput, coerceInput, compileInlets, containsKey, containsKey, decohere, didDecohere, didDecohereInlet, didDecohereOutlet, didRecohere, didRecohereInlet, didRecohereOutlet, disconnectInputs, disconnectOutputs, get, get, get, getAttr, getAttr, getField, getField, getInput, getInput, getInput, getInput, getItem, getOutput, getSlot, getSlot, inlet, inlet, inoutlet, isEmpty, onDecohere, onDecohereOutlets, onRecohereInlets, onRecohereOutlets, outlet, outlet, put, put, putAttr, putAttr, putSlot, putSlot, recohere, remove, removeKey, removeKey, setItem, setStreamletContext, setStreamletScope, size, streamletContext, streamletScope, unbindInput, willDecohere, willDecohereInlet, willDecohereOutlet, willRecohere, willRecohereInlet, willRecohereOutlet

    Methods inherited from class swim.dataflow.RecordStreamlet

    compile, compileInlet, isConstant

    Methods inherited from class swim.structure.Record

    add, add, add, add, add, add, add, add, add, add, add, add, add, addAll, addAll, alias, appended, appended, asMutable, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, bind, body, branch, commit, compareTo, compareTo, concat, contains, contains, containsAll, containsValue, create, create, debug, empty, entrySet, equals, evaluate, fieldCount, fieldIterator, fieldSet, flattened, hashCode, head, header, headers, indexOf, isAliased, isArray, isDefinite, isMutable, isObject, item, item, item, item, item, item, item, iterator, keyIterator, keySet, lastIndexOf, length, listIterator, listIterator, of, of, of, prepended, prepended, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, remove, removeAll, removed, removed, retainAll, set, setItem, setItem, setItem, setItem, setItem, setItem, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, stringValue, stringValue, subList, substitute, tag, tail, target, toArray, toArray, typeOrder, unflattened, updated, updated, updatedAttr, updatedAttr, updatedSlot, updatedSlot, valueCount, valueIterator, values

    Methods inherited from class swim.structure.Value

    absent, and, and, bitwiseAnd, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseOr, bitwiseXor, bitwiseXor, booleanValue, booleanValue, builder, byteValue, byteValue, charValue, charValue, conditional, conditional, divide, divide, doubleValue, doubleValue, eq, eq, extant, floatValue, floatValue, fromObject, ge, ge, gt, gt, integerValue, integerValue, intValue, intValue, inverse, isDefined, isDistinct, key, keyEquals, lambda, le, le, longValue, longValue, lt, lt, minus, minus, modulo, modulo, ne, ne, negative, not, numberValue, numberValue, or, or, plus, plus, positive, shortValue, shortValue, times, times, toValue

    Methods inherited from class swim.structure.Item

    appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, display, evaluate, filter, filter, globalScope, invoke, max, min, precedence, prepended, prepended, prepended, prepended, prepended, prepended, substitute, toString, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.List

    replaceAll, sort, spliterator
  • Field Details

    • hostUri

      @Inout public final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value> hostUri
    • nodeUri

      @Inout public final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value> nodeUri
    • laneUri

      @Inout public final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value> laneUri
    • prio

      @Inout public final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value> prio
    • rate

      @Inout public final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value> rate
    • body

      @Inout public final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value> body
    • type

      @Inout public final swim.streamlet.Inoutlet<swim.structure.Value,swim.structure.Value> type
    • warp

      protected final WarpRef warp
    • state

      @Out public swim.streamlet.Outlet<swim.structure.Value> state
    • downlinkRecord

      protected DownlinkRecord downlinkRecord
    • inputHostUri

      protected String inputHostUri
    • inputNodeUri

      protected String inputNodeUri
    • inputLaneUri

      protected String inputLaneUri
    • inputPrio

      protected float inputPrio
    • inputRate

      protected float inputRate
    • inputBody

      protected swim.structure.Value inputBody
    • inputType

      protected String inputType
  • Constructor Details

    • DownlinkStreamlet

      public DownlinkStreamlet(WarpRef warp, swim.streamlet.StreamletScope<? extends swim.structure.Value> scope)
    • DownlinkStreamlet

      public DownlinkStreamlet(WarpRef warp)
  • Method Details

    • getOutput

      public swim.structure.Value getOutput(swim.streamlet.Outlet<? super swim.structure.Value> outlet)
      Specified by:
      getOutput in interface swim.streamlet.GenericStreamlet<swim.structure.Value,swim.structure.Value>
      Overrides:
      getOutput in class swim.dataflow.AbstractRecordStreamlet<swim.structure.Value,swim.structure.Value>
    • onRecohere

      protected void onRecohere(int version)
      Overrides:
      onRecohere in class swim.dataflow.AbstractRecordStreamlet<swim.structure.Value,swim.structure.Value>
    • reifier

      public static swim.dataflow.Reifier reifier(WarpRef warp)