- java.lang.Object
-
- swim.streamlet.AbstractInoutlet<I,O>
-
- swim.streamlet.StreamletInoutlet<I,O>
-
public class StreamletInoutlet<I,O> extends AbstractInoutlet<I,O>
AnInoutlet
that decoheres a parameterizedStreamlet
whenever theInoutlet
decoheres, that recoheres the parameterizedStreamlet
whenever theInoutlet
recoheres, and which gets its state from the parameterizedStreamlet
.
-
-
Constructor Summary
Constructors Constructor Description StreamletInoutlet(Streamlet<? super I,? extends O> streamlet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
didDecohere()
protected void
didRecohere(int version)
O
get()
Returns the current state of thisOutlet
.Streamlet<? super I,? extends O>
streamlet()
protected void
willDecohere()
protected void
willRecohere(int version)
-
Methods inherited from class swim.streamlet.AbstractInoutlet
bindInput, bindOutput, decohere, decohereInput, decohereOutput, disconnectInputs, disconnectOutputs, input, onDecohere, onRecohere, outputIterator, recohere, recohereInput, recohereOutput, unbindInput, unbindOutput, unbindOutputs
-
-
-
-
Method Detail
-
get
public O get()
Description copied from interface:Outlet
Returns the current state of thisOutlet
.
-
willDecohere
protected void willDecohere()
- Overrides:
willDecohere
in classAbstractInoutlet<I,O>
-
didDecohere
protected void didDecohere()
- Overrides:
didDecohere
in classAbstractInoutlet<I,O>
-
willRecohere
protected void willRecohere(int version)
- Overrides:
willRecohere
in classAbstractInoutlet<I,O>
-
didRecohere
protected void didRecohere(int version)
- Overrides:
didRecohere
in classAbstractInoutlet<I,O>
-
-