Package org.jcsp.util.filter
Class FilteredOne2OneChannelImpl
java.lang.Object
org.jcsp.util.filter.FilteredOne2OneChannelImpl
- All Implemented Interfaces:
One2OneChannel
,FilteredOne2OneChannel
Implements a
One2One
channel that supports filtering at each end.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FilteredAltingChannelInput
The filtered input end of the channel.private FilteredChannelOutput
The filtered output end of the channel. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new filtered channel based on an existing channel. -
Method Summary
-
Field Details
-
in
The filtered input end of the channel. -
out
The filtered output end of the channel.
-
-
Constructor Details
-
FilteredOne2OneChannelImpl
Constructs a new filtered channel based on an existing channel.- Parameters:
chan
- the existing channel.
-
-
Method Details
-
in
Description copied from interface:One2OneChannel
Returns the input channel end.- Specified by:
in
in interfaceOne2OneChannel
-
out
Description copied from interface:One2OneChannel
Returns the output channel end.- Specified by:
out
in interfaceOne2OneChannel
-
inFilter
Description copied from interface:FilteredOne2OneChannel
Returns the control interface for configuring the read filters on the channel.- Specified by:
inFilter
in interfaceFilteredOne2OneChannel
-
outFilter
Description copied from interface:FilteredOne2OneChannel
Returns the control interface for configuring the write filters on the channel.- Specified by:
outFilter
in interfaceFilteredOne2OneChannel
-