- 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 decoheres a parameterizedStreamlet
whenever theOutlet
decoheres, and which gets its state from the parameterizedStreamlet
.
-
-
Constructor Summary
Constructors Constructor Description StreamletOutlet(Streamlet<?,? extends O> streamlet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
didDecohereInput()
protected void
didRecohereInput(int version)
O
get()
Returns the current state of thisOutlet
.Streamlet<?,? extends O>
streamlet()
protected void
willDecohereInput()
protected void
willRecohereInput(int version)
-
Methods inherited from class swim.streamlet.AbstractOutlet
bindOutput, decohereInput, disconnectInputs, disconnectOutputs, onDecohereInput, onRecohereInput, outputIterator, recohereInput, unbindOutput, unbindOutputs
-
-
-
-
Method Detail
-
get
public O get()
Description copied from interface:Outlet
Returns the current state of thisOutlet
.
-
willDecohereInput
protected void willDecohereInput()
- Overrides:
willDecohereInput
in classAbstractOutlet<O>
-
didDecohereInput
protected void didDecohereInput()
- Overrides:
didDecohereInput
in classAbstractOutlet<O>
-
willRecohereInput
protected void willRecohereInput(int version)
- Overrides:
willRecohereInput
in classAbstractOutlet<O>
-
didRecohereInput
protected void didRecohereInput(int version)
- Overrides:
didRecohereInput
in classAbstractOutlet<O>
-
-