Skip navigation links
CSP for Java
(JCSP) 1.1-rc4

Package org.jcsp.util.ints

This provides classes and interfaces to customise the semantics of int channels.

See: Description

Package org.jcsp.util.ints Description

This provides classes and interfaces to customise the semantics of int channels.

By default, channels are zero-buffered and fully synchronised: both a reader and a writer have to be ready for a communication to proceed. Whoever gets to the communication point first has to wait for the other party.

This package provides a variety of classes conforming to the ChannelDataStoreInt interface. These classes can be used as plug-ins to the static Channel manufacturing methods to customise their semantics. Classes are provided for blocking FIFO buffers, overwriting buffers (losing either the newest or oldest data) and infinite (within the realms of your virtual memory) buffers.

Users may write and use their own implementations of the ChannelDataStoreInt interface, but great care must be taken to specify its semantics. It should not normally be necessary to do this.

Skip navigation links
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.