- java.lang.Object
-
- swim.streamlet.AbstractInoutlet<I,O>
-
- swim.streamlet.StreamletInoutlet<I,O>
-
public class StreamletInoutlet<I,O> extends AbstractInoutlet<I,O>
AnInoutletthat decoheres a parameterizedStreamletwhenever theInoutletdecoheres, that recoheres the parameterizedStreamletwhenever theInoutletrecoheres, 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 voiddidDecohere()protected voiddidRecohere(int version)Oget()Returns the current state of thisOutlet.Streamlet<? super I,? extends O>streamlet()protected voidwillDecohere()protected voidwillRecohere(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:OutletReturns the current state of thisOutlet.
-
willDecohere
protected void willDecohere()
- Overrides:
willDecoherein classAbstractInoutlet<I,O>
-
didDecohere
protected void didDecohere()
- Overrides:
didDecoherein classAbstractInoutlet<I,O>
-
willRecohere
protected void willRecohere(int version)
- Overrides:
willRecoherein classAbstractInoutlet<I,O>
-
didRecohere
protected void didRecohere(int version)
- Overrides:
didRecoherein classAbstractInoutlet<I,O>
-
-