Package 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.
-
Method Summary
Modifier and TypeMethodDescriptioncreateNet2Any
(String label, ChannelDataStore buffer) Constructs a bufferedNetSharedChannelInput
which has a VCN assigned with the specified label.createNet2One
(String label, ChannelDataStore buffer) Constructs a bufferedNetAltingChannelInput
which has a VCN assigned with the specified label.
-
Method Details
-
createNet2One
Constructs a bufferedNetAltingChannelInput
which has a VCN assigned with the specified label.- Parameters:
label
- the label to apply to the channel's VCN.buffer
- theChannelDataStore
to use.- Returns:
- the constructed
NetAltingChannelInput
object.
-
createNet2Any
Constructs a bufferedNetSharedChannelInput
which has a VCN assigned with the specified label.- Parameters:
label
- the label to apply to the channel's VCN.buffer
- theChannelDataStore
to use.- Returns:
- the constructed
NetSharedChannelInput
object.
-