org.jcsp.nxt.lang
Interface One2OneChannelInt

All Known Implementing Classes:
One2OneChannelIntImpl

public interface One2OneChannelInt

This implements a one-to-one integer channel.

Description

One2OneChannelIntImpl implements a one-to-one integer channel. Multiple readers or multiple writers are not allowed .

The reading process may ALT on this channel. The writing process is committed (i.e. it may not back off).

The default semantics of the channel is that of CSP -- i.e. it is zero-buffered and fully synchronised. The reading process must wait for a matching writer and vice-versa.

Author:
P.D.Austin, P.H.Welch, Alex Panayotopoulos
See Also:

Method Summary
 AltingChannelInputInt in()
          Returns the input end of the channel.
 ChannelOutputInt out()
          Returns the output end of the channel.
 

Method Detail

in

AltingChannelInputInt in()
Returns the input end of the channel.


out

ChannelOutputInt out()
Returns the output end of the channel.