org.jcsp.net
public class StandardNetChannelEndFactory extends Object implements NetChannelEndFactory, NetLabelledChannelEndFactory, NetBufferedChannelEndFactory, NetLabelledBufferedChannelEndFactory
Constructor and Description |
---|
StandardNetChannelEndFactory() |
StandardNetChannelEndFactory(Profile profile)
Creates a factory that creates links using a given profile rather than the default one.
|
Modifier and Type | Method and Description |
---|---|
NetSharedChannelOutput |
createAny2Net(NetChannelLocation loc)
Constructs a
NetSharedChannelOutput object. |
NetSharedChannelInput |
createNet2Any()
Constructs a
NetSharedChannelInput object. |
NetSharedChannelInput |
createNet2Any(ChannelDataStore buffer)
Constructs a
NetSharedChannelInput object. |
NetSharedChannelInput |
createNet2Any(String label)
Constructs a
NetSharedChannelInput which
has a VCN assigned with the specified label. |
NetSharedChannelInput |
createNet2Any(String label,
ChannelDataStore buffer)
Constructs a buffered
NetSharedChannelInput which
has a VCN assigned with the specified label. |
NetAltingChannelInput |
createNet2One()
Constructs a
NetAltingChannelInput object. |
NetAltingChannelInput |
createNet2One(ChannelDataStore buffer)
Constructs a
NetAltingChannelInput object. |
NetAltingChannelInput |
createNet2One(String label)
Constructs a
NetAltingChannelInput 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. |
NetChannelOutput |
createOne2Net(NetChannelLocation loc)
Constructs a
NetChannelOutput object. |
static StandardNetChannelEndFactory |
getDefaultInstance() |
public StandardNetChannelEndFactory()
public StandardNetChannelEndFactory(Profile profile)
public static StandardNetChannelEndFactory getDefaultInstance()
public NetAltingChannelInput createNet2One()
NetChannelEndFactory
Constructs a NetAltingChannelInput
object.
createNet2One
in interface NetChannelEndFactory
NetAltingChannelInput
object.NetChannelEndFactory.createNet2One()
public NetAltingChannelInput createNet2One(String label)
NetLabelledChannelEndFactory
NetAltingChannelInput
which
has a VCN assigned with the specified label.createNet2One
in interface NetLabelledChannelEndFactory
label
- the label to apply to the channel's VCN.NetAltingChannelInput
object.NetLabelledChannelEndFactory.createNet2One(String)
public NetAltingChannelInput createNet2One(ChannelDataStore buffer)
NetBufferedChannelEndFactory
NetAltingChannelInput
object.createNet2One
in interface NetBufferedChannelEndFactory
buffer
- the ChannelDataStore
to use as a buffer.NetAltingChannelInput
object.NetBufferedChannelEndFactory.createNet2One(ChannelDataStore)
public NetAltingChannelInput createNet2One(String label, ChannelDataStore buffer)
NetLabelledBufferedChannelEndFactory
NetAltingChannelInput
which
has a VCN assigned with the specified label.createNet2One
in interface NetLabelledBufferedChannelEndFactory
label
- the label to apply to the channel's VCN.buffer
- the ChannelDataStore
to use.NetAltingChannelInput
object.NetLabelledBufferedChannelEndFactory.createNet2One(String, ChannelDataStore)
public NetSharedChannelInput createNet2Any()
NetChannelEndFactory
Constructs a NetSharedChannelInput
object.
createNet2Any
in interface NetChannelEndFactory
NetSharedChannelInput
object.NetChannelEndFactory.createNet2Any()
public NetSharedChannelInput createNet2Any(String label)
NetLabelledChannelEndFactory
NetSharedChannelInput
which
has a VCN assigned with the specified label.createNet2Any
in interface NetLabelledChannelEndFactory
label
- the label to apply to the channel's VCN.NetSharedChannelInput
object.NetLabelledChannelEndFactory.createNet2Any(String)
public NetSharedChannelInput createNet2Any(ChannelDataStore buffer)
NetBufferedChannelEndFactory
NetSharedChannelInput
object.createNet2Any
in interface NetBufferedChannelEndFactory
buffer
- the ChannelDataStore
to use as a buffer.NetSharedChannelInput
object.NetBufferedChannelEndFactory.createNet2Any(ChannelDataStore)
public NetSharedChannelInput createNet2Any(String label, ChannelDataStore buffer)
NetLabelledBufferedChannelEndFactory
NetSharedChannelInput
which
has a VCN assigned with the specified label.createNet2Any
in interface NetLabelledBufferedChannelEndFactory
label
- the label to apply to the channel's VCN.buffer
- the ChannelDataStore
to use.NetSharedChannelInput
object.NetLabelledBufferedChannelEndFactory.createNet2Any(String, ChannelDataStore)
public NetChannelOutput createOne2Net(NetChannelLocation loc)
NetChannelEndFactory
Constructs a NetChannelOutput
object.
createOne2Net
in interface NetChannelEndFactory
NetChannelOutput
object.NetChannelEndFactory.createOne2Net(NetChannelLocation)
public NetSharedChannelOutput createAny2Net(NetChannelLocation loc)
NetChannelEndFactory
Constructs a NetSharedChannelOutput
object.
createAny2Net
in interface NetChannelEndFactory
NetSharedChannelOutput
object.NetChannelEndFactory.createAny2Net(NetChannelLocation)
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.