Interface NetLabelledChannelEndFactory
-
- All Known Implementing Classes:
StandardNetChannelEndFactory,UnacknowledgedNetChannelEndFactory
public interface NetLabelledChannelEndFactoryThis factory constructs
NetChannelInputobjects 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.NetChannelLocationIf 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 aNetChannelLocationChannelInputwith a known labelled VCN is known by a process in another Node, then aChannelOutputcan be established by constructing with aNetChannelLocationobject constrcuted using theconstructor.NetChannelLocation(NodeAddressID, String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetSharedChannelInputcreateNet2Any(java.lang.String label)Constructs aNetSharedChannelInputwhich has a VCN assigned with the specified label.NetAltingChannelInputcreateNet2One(java.lang.String label)Constructs aNetAltingChannelInputwhich has a VCN assigned with the specified label.
-
-
-
Method Detail
-
createNet2One
NetAltingChannelInput createNet2One(java.lang.String label)
Constructs aNetAltingChannelInputwhich has a VCN assigned with the specified label.- Parameters:
label- the label to apply to the channel's VCN.- Returns:
- the constructed
NetAltingChannelInputobject.
-
createNet2Any
NetSharedChannelInput createNet2Any(java.lang.String label)
Constructs aNetSharedChannelInputwhich has a VCN assigned with the specified label.- Parameters:
label- the label to apply to the channel's VCN.- Returns:
- the constructed
NetSharedChannelInputobject.
-
-