|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetLabelledChannelEndFactory
This factory constructs NetChannelInput
objects
which have labelled VCN's.
JCSP.NET network channel addresses (signified by
objects) have a
Virtual Channel Number (VCN). This number is not exposed
to JCSP users but is an integral part of channel addressing.
NetChannelLocation
If two Nodes have no means of communication, there is no
way that one can pass a
object to the other. This means that a channel cannot be
established using convential means. JCSP.NET solves this
problem by allowing VCN's to be labelled by the user.
If the address of a Node hosting a NetChannelLocation
ChannelInput
with a known labelled VCN is known by a process in another Node,
then a ChannelOutput
can be established by
constructing with a NetChannelLocation
object constrcuted
using the
constructor.
NetChannelLocation.NetChannelLocation(NodeAddressID, String)
Method Summary | |
---|---|
NetSharedChannelInput |
createNet2Any(String label)
Constructs a NetSharedChannelInput which
has a VCN assigned with the specified label. |
NetAltingChannelInput |
createNet2One(String label)
Constructs a NetAltingChannelInput which
has a VCN assigned with the specified label. |
Method Detail |
---|
NetAltingChannelInput createNet2One(String label)
NetAltingChannelInput
which
has a VCN assigned with the specified label.
label
- the label to apply to the channel's VCN.
NetAltingChannelInput
object.NetSharedChannelInput createNet2Any(String label)
NetSharedChannelInput
which
has a VCN assigned with the specified label.
label
- the label to apply to the channel's VCN.
NetSharedChannelInput
object.
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |