Package org.jcsp.util.filter
Class FilteredAny2OneChannelImpl
java.lang.Object
org.jcsp.util.filter.FilteredAny2OneChannelImpl
- All Implemented Interfaces:
Any2OneChannel
,FilteredAny2OneChannel
This wraps up an Any2OneChannel object so that its
input and output ends are separate objects. Both ends of the channel
have filtering enabled.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FilteredAltingChannelInput
The input end of the channel.private FilteredSharedChannelOutput
The output end of the channel. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new filtered channel over the top of an existing channel. -
Method Summary
-
Field Details
-
in
The input end of the channel. -
out
The output end of the channel.
-
-
Constructor Details
-
FilteredAny2OneChannelImpl
Constructs a new filtered channel over the top of an existing channel.
-
-
Method Details
-
in
Description copied from interface:Any2OneChannel
Returns the input end of the channel.- Specified by:
in
in interfaceAny2OneChannel
-
out
Description copied from interface:Any2OneChannel
Returns the output end of the channel.- Specified by:
out
in interfaceAny2OneChannel
-
inFilter
Description copied from interface:FilteredAny2OneChannel
Returns an interface for configuring read filters on the channel.- Specified by:
inFilter
in interfaceFilteredAny2OneChannel
-
outFilter
Description copied from interface:FilteredAny2OneChannel
Returns an interface for configuring write filters on the channel.- Specified by:
outFilter
in interfaceFilteredAny2OneChannel
-