- java.lang.Object
-
- swim.streamlet.AbstractOutlet<O>
-
- swim.streamlet.StreamletOutlet<O>
-
- All Implemented Interfaces:
Outlet<O>
public class StreamletOutlet<O> extends AbstractOutlet<O>
AnOutlet
that invalidates a parameterizedStreamlet
whenever theOutlet
is invalidated, and which gets its state from the parameterizedStreamlet
.
-
-
Field Summary
-
Fields inherited from class swim.streamlet.AbstractOutlet
outputs, version
-
-
Constructor Summary
Constructors Constructor Description StreamletOutlet(Streamlet<?,? extends O> streamlet)
-
Method Summary
Modifier and Type Method Description protected void
didInvalidateInput()
protected void
didReconcileInput(int version)
O
get()
Returns the current state of thisOutlet
.Streamlet<?,? extends O>
streamlet()
protected void
willInvalidateInput()
protected void
willReconcileInput(int version)
-
Methods inherited from class swim.streamlet.AbstractOutlet
bindOutput, disconnectInputs, disconnectOutputs, invalidateInput, onInvalidateInput, onReconcileInput, outputIterator, reconcileInput, unbindOutput, unbindOutputs
-
-
-
-
Method Detail
-
get
public O get()
Description copied from interface:Outlet
Returns the current state of thisOutlet
.
-
willInvalidateInput
protected void willInvalidateInput()
- Overrides:
willInvalidateInput
in classAbstractOutlet<O>
-
didInvalidateInput
protected void didInvalidateInput()
- Overrides:
didInvalidateInput
in classAbstractOutlet<O>
-
willReconcileInput
protected void willReconcileInput(int version)
- Overrides:
willReconcileInput
in classAbstractOutlet<O>
-
didReconcileInput
protected void didReconcileInput(int version)
- Overrides:
didReconcileInput
in classAbstractOutlet<O>
-
-