org.jcsp.lang
Interface BufferedChannelArrayFactory<T>

All Known Implementing Classes:
FilteredChannelFactory, StandardChannelFactory

Deprecated. These channel factories are deprecated in favour of the new one2one() methods in the Channel class.

public interface BufferedChannelArrayFactory<T>

Defines an interface for a factory that can create arrays of channels with user-definable buffering semantics.

Author:
Quickstone Technologies Limited

Method Summary
 Any2AnyChannel<T>[] createAny2Any(ChannelDataStore<T> buffer, int n)
          Deprecated. Creates a populated array of n Any2Any channels with the specified buffering behaviour.
 Any2OneChannel<T>[] createAny2One(ChannelDataStore<T> buffer, int n)
          Deprecated. Creates a populated array of n Any2One channels with the specified buffering behaviour.
 One2AnyChannel<T>[] createOne2Any(ChannelDataStore<T> buffer, int n)
          Deprecated. Creates a populated array of n One2Any channels with the specified buffering behaviour.
 One2OneChannel<T>[] createOne2One(ChannelDataStore<T> buffer, int n)
          Deprecated. Creates a populated array of n One2One channels with the specified buffering behaviour.
 

Method Detail

createOne2One

One2OneChannel<T>[] createOne2One(ChannelDataStore<T> buffer,
                                  int n)
Deprecated. 
Creates a populated array of n One2One channels with the specified buffering behaviour.

Parameters:
buffer - the buffer implementation to use.
n - the size of the array.
Returns:
the created array of channels.

createAny2One

Any2OneChannel<T>[] createAny2One(ChannelDataStore<T> buffer,
                                  int n)
Deprecated. 
Creates a populated array of n Any2One channels with the specified buffering behaviour.

Parameters:
buffer - the buffer implementation to use.
n - the size of the array.
Returns:
the created array of channels.

createOne2Any

One2AnyChannel<T>[] createOne2Any(ChannelDataStore<T> buffer,
                                  int n)
Deprecated. 
Creates a populated array of n One2Any channels with the specified buffering behaviour.

Parameters:
buffer - the buffer implementation to use.
n - the size of the array.
Returns:
the created array of channels.

createAny2Any

Any2AnyChannel<T>[] createAny2Any(ChannelDataStore<T> buffer,
                                  int n)
Deprecated. 
Creates a populated array of n Any2Any channels with the specified buffering behaviour.

Parameters:
buffer - the buffer implementation to use.
n - the size of the array.
Returns:
the created array of channels.


Copyright © 1996-2012. All Rights Reserved.