- java.lang.Object
-
- swim.structure.Item
-
- swim.structure.Value
-
- swim.structure.Record
-
- swim.dataflow.RecordStreamlet<I,O>
-
- swim.dataflow.AbstractRecordStreamlet<Value,Value>
-
- swim.api.downlink.DownlinkStreamlet
-
- All Implemented Interfaces:
Comparable<Item>,Iterable<Item>,Collection<Item>,List<Item>,Debug,Display,GenericStreamlet<Value,Value>,Streamlet<Value,Value>,StreamletScope<Value>,Builder<Item,Record>,PairBuilder<Value,Value,Record>
public class DownlinkStreamlet extends AbstractRecordStreamlet<Value,Value>
-
-
Field Summary
Fields Modifier and Type Field Description Inoutlet<Value,Value>bodyprotected Downlinkdownlinkprotected DownlinkRecorddownlinkRecordInoutlet<Value,Value>hostUriprotected ValueinputBodyprotected StringinputHostUriprotected StringinputLaneUriprotected StringinputNodeUriprotected floatinputPrioprotected floatinputRateprotected StringinputTypeInoutlet<Value,Value>laneUriInoutlet<Value,Value>nodeUriInoutlet<Value,Value>prioInoutlet<Value,Value>rateOutlet<Value>stateprotected SwimRefswimInoutlet<Value,Value>type-
Fields inherited from class swim.dataflow.AbstractRecordStreamlet
context, scope, version
-
-
Constructor Summary
Constructors Constructor Description DownlinkStreamlet(SwimRef swim)DownlinkStreamlet(SwimRef swim, StreamletScope<? extends Value> scope)
-
Method Summary
Modifier and Type Method Description ValuegetOutput(Outlet<? super Value> outlet)protected voidonReconcile(int version)static Transmutertransmuter(SwimRef swim)-
Methods inherited from class swim.dataflow.AbstractRecordStreamlet
add, add, bindInput, castInput, castInput, castInput, castInput, clear, coerceInput, coerceInput, coerceInput, coerceInput, compileInlets, containsKey, containsKey, didInvalidate, didInvalidateInlet, didInvalidateOutlet, didReconcile, didReconcileInlet, didReconcileOutlet, disconnectInputs, disconnectOutputs, get, get, get, getAttr, getAttr, getField, getField, getInput, getInput, getInput, getInput, getItem, getOutput, getSlot, getSlot, inlet, inlet, inoutlet, invalidate, isEmpty, onInvalidate, onInvalidateOutlets, onReconcileInlets, onReconcileOutlets, outlet, outlet, put, put, putAttr, putAttr, putSlot, putSlot, reconcile, remove, removeKey, removeKey, setItem, setStreamletContext, setStreamletScope, size, streamletContext, streamletScope, unbindInput, willInvalidate, willInvalidateInlet, willInvalidateOutlet, willReconcile, willReconcileInlet, willReconcileOutlet
-
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, 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, 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.util.List
replaceAll, sort, spliterator
-
-
-
-
Field Detail
-
swim
protected final SwimRef swim
-
downlink
protected Downlink downlink
-
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 Value inputBody
-
inputType
protected String inputType
-
-
Constructor Detail
-
DownlinkStreamlet
public DownlinkStreamlet(SwimRef swim, StreamletScope<? extends Value> scope)
-
DownlinkStreamlet
public DownlinkStreamlet(SwimRef swim)
-
-
Method Detail
-
transmuter
public static Transmuter transmuter(SwimRef swim)
-
getOutput
public Value getOutput(Outlet<? super Value> outlet)
- Specified by:
getOutputin interfaceGenericStreamlet<Value,Value>- Overrides:
getOutputin classAbstractRecordStreamlet<Value,Value>
-
onReconcile
protected void onReconcile(int version)
- Overrides:
onReconcilein classAbstractRecordStreamlet<Value,Value>
-
-