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