- java.lang.Object
-
- swim.streamlet.AbstractInoutlet<I,O>
-
- swim.streamlet.StreamletInoutlet<I,O>
-
public class StreamletInoutlet<I,O> extends AbstractInoutlet<I,O>
AnInoutlet
that invalidates a parameterizedStreamlet
whenever theInoutlet
is invalidated, that updates the parameterizedStreamlet
whenever theInoutlet
updates, and which gets its state from the parameterizedStreamlet
.
-
-
Field Summary
-
Fields inherited from class swim.streamlet.AbstractInoutlet
input, outputs, version
-
-
Constructor Summary
Constructors Constructor Description StreamletInoutlet(Streamlet<? super I,? extends O> streamlet)
-
Method Summary
Modifier and Type Method Description protected void
didInvalidate()
protected void
didReconcile(int version)
O
get()
Returns the current state of thisOutlet
.Streamlet<? super I,? extends O>
streamlet()
protected void
willInvalidate()
protected void
willReconcile(int version)
-
Methods inherited from class swim.streamlet.AbstractInoutlet
bindInput, bindOutput, disconnectInputs, disconnectOutputs, input, invalidate, invalidateInput, invalidateOutput, onInvalidate, onReconcile, outputIterator, reconcile, reconcileInput, reconcileOutput, unbindInput, unbindOutput, unbindOutputs
-
-
-
-
Method Detail
-
get
public O get()
Description copied from interface:Outlet
Returns the current state of thisOutlet
.
-
willInvalidate
protected void willInvalidate()
- Overrides:
willInvalidate
in classAbstractInoutlet<I,O>
-
didInvalidate
protected void didInvalidate()
- Overrides:
didInvalidate
in classAbstractInoutlet<I,O>
-
willReconcile
protected void willReconcile(int version)
- Overrides:
willReconcile
in classAbstractInoutlet<I,O>
-
didReconcile
protected void didReconcile(int version)
- Overrides:
didReconcile
in classAbstractInoutlet<I,O>
-
-