- java.lang.Object
-
- swim.streamlet.AbstractInoutlet<I,O>
-
- swim.streamlet.StreamletInoutlet<I,O>
-
public class StreamletInoutlet<I,O> extends AbstractInoutlet<I,O>
AnInoutletthat invalidates a parameterizedStreamletwhenever theInoutletis invalidated, that updates the parameterizedStreamletwhenever theInoutletupdates, 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 voiddidInvalidate()protected voiddidReconcile(int version)Oget()Returns the current state of thisOutlet.Streamlet<? super I,? extends O>streamlet()protected voidwillInvalidate()protected voidwillReconcile(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:OutletReturns the current state of thisOutlet.
-
willInvalidate
protected void willInvalidate()
- Overrides:
willInvalidatein classAbstractInoutlet<I,O>
-
didInvalidate
protected void didInvalidate()
- Overrides:
didInvalidatein classAbstractInoutlet<I,O>
-
willReconcile
protected void willReconcile(int version)
- Overrides:
willReconcilein classAbstractInoutlet<I,O>
-
didReconcile
protected void didReconcile(int version)
- Overrides:
didReconcilein classAbstractInoutlet<I,O>
-
-