Package org.jcsp.util.filter
Class FilteredOne2AnyChannelImpl
- java.lang.Object
-
- org.jcsp.util.filter.FilteredOne2AnyChannelImpl
-
- All Implemented Interfaces:
One2AnyChannel
,FilteredOne2AnyChannel
class FilteredOne2AnyChannelImpl extends java.lang.Object implements FilteredOne2AnyChannel
Implements anOne2Any
channel that supports filtering at each end.- See Also:
One2AnyChannel
,ReadFiltered
,WriteFiltered
-
-
Field Summary
Fields Modifier and Type Field Description private FilteredSharedChannelInput
in
The filtered input end of the channel.private FilteredChannelOutput
out
The filtered output end of the channel.
-
Constructor Summary
Constructors Constructor Description FilteredOne2AnyChannelImpl(One2AnyChannel chan)
Constructs a new filtered channel from an existing channel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedChannelInput
in()
Returns the input end of the channel.ReadFiltered
inFilter()
Returns the control interface to manipulate the read filters.ChannelOutput
out()
Returns the output end of the channel.WriteFiltered
outFilter()
Returns the control interface to manipulate the write filters.
-
-
-
Field Detail
-
in
private FilteredSharedChannelInput in
The filtered input end of the channel.
-
out
private FilteredChannelOutput out
The filtered output end of the channel.
-
-
Constructor Detail
-
FilteredOne2AnyChannelImpl
public FilteredOne2AnyChannelImpl(One2AnyChannel chan)
Constructs a new filtered channel from an existing channel.- Parameters:
chan
- the existing channel.
-
-
Method Detail
-
in
public SharedChannelInput in()
Description copied from interface:One2AnyChannel
Returns the input end of the channel.- Specified by:
in
in interfaceOne2AnyChannel
-
out
public ChannelOutput out()
Description copied from interface:One2AnyChannel
Returns the output end of the channel.- Specified by:
out
in interfaceOne2AnyChannel
-
inFilter
public ReadFiltered inFilter()
Description copied from interface:FilteredOne2AnyChannel
Returns the control interface to manipulate the read filters.- Specified by:
inFilter
in interfaceFilteredOne2AnyChannel
-
outFilter
public WriteFiltered outFilter()
Description copied from interface:FilteredOne2AnyChannel
Returns the control interface to manipulate the write filters.- Specified by:
outFilter
in interfaceFilteredOne2AnyChannel
-
-