CSP for Java
(JCSP) 1.1-rc4

Interface Filter

All Known Implementing Classes:

public interface Filter

Interface for channel plug-ins that define filtering operations - transformations on the data as it is read or written. A channel (or channel end) that supports filtering will implement the ReadFiltered or WriteFiltered interface which allows instances of Filter to be installed or removed from the channel.

Quickstone Technologies Limited
See Also:
FilteredChannel, FilteredChannelEnd, ReadFiltered, WriteFiltered

Method Summary
 Object filter(Object obj)
          Applies the filter operation.

Method Detail


Object filter(Object obj)
Applies the filter operation. The object given can be modified and returned or another object substituted in its place.

obj - the original object in the channel communication.
the modified/substituted object after filtration.

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.