Package org.jcsp.lang
Class BasicOne2OneChannelSymmetric<T>
- java.lang.Object
-
- org.jcsp.lang.BasicOne2OneChannelSymmetric<T>
-
- All Implemented Interfaces:
One2OneChannelSymmetric<T>
class BasicOne2OneChannelSymmetric<T> extends java.lang.Object implements One2OneChannelSymmetric<T>
-
-
Field Summary
Fields Modifier and Type Field Description private AltingBarrier[]
ab
private One2OneChannel<T>
c
-
Constructor Summary
Constructors Constructor Description BasicOne2OneChannelSymmetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AltingChannelInput<T>
in()
Returns the input channel end.AltingChannelOutput<T>
out()
Returns the output channel end.
-
-
-
Field Detail
-
ab
private final AltingBarrier[] ab
-
c
private final One2OneChannel<T> c
-
-
Method Detail
-
in
public AltingChannelInput<T> in()
Description copied from interface:One2OneChannelSymmetric
Returns the input channel end.- Specified by:
in
in interfaceOne2OneChannelSymmetric<T>
-
out
public AltingChannelOutput<T> out()
Description copied from interface:One2OneChannelSymmetric
Returns the output channel end.- Specified by:
out
in interfaceOne2OneChannelSymmetric<T>
-
-