CSP for Java
(JCSP) 1.1-rc4

org.jcsp.net
Interface NetLabelledBufferedChannelEndFactory

All Known Implementing Classes:
StandardNetChannelEndFactory, UnacknowledgedNetChannelEndFactory

public interface NetLabelledBufferedChannelEndFactory

This factory constructs buffered NetChannelInput objects which have labelled VCN's.

See NetLabelledChannelEndFactory for an explanation of labelled VCN's.

Author:
Quickstone Technologies Limited

Method Summary
 NetSharedChannelInput createNet2Any(String label, ChannelDataStore buffer)
          Constructs a buffered NetSharedChannelInput which has a VCN assigned with the specified label.
 NetAltingChannelInput createNet2One(String label, ChannelDataStore buffer)
          Constructs a buffered NetAltingChannelInput which has a VCN assigned with the specified label.
 

Method Detail

createNet2One

NetAltingChannelInput createNet2One(String label,
                                    ChannelDataStore buffer)
Constructs a buffered NetAltingChannelInput which has a VCN assigned with the specified label.

Parameters:
label - the label to apply to the channel's VCN.
buffer - the ChannelDataStore to use.
Returns:
the constructed NetAltingChannelInput object.

createNet2Any

NetSharedChannelInput createNet2Any(String label,
                                    ChannelDataStore buffer)
Constructs a buffered NetSharedChannelInput which has a VCN assigned with the specified label.

Parameters:
label - the label to apply to the channel's VCN.
buffer - the ChannelDataStore to use.
Returns:
the constructed NetSharedChannelInput object.

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.