Package org.jcsp.net.cns
Interface NamedChannelEndFactory
-
- All Known Subinterfaces:
NamedChannelEndManager
- All Known Implementing Classes:
CNSChannelEndManager
public interface NamedChannelEndFactoryClasses implementing this interface act as factories for constructing
NetChannelInputandNetChannelOutputobjects.NetChannelInputobjects are constructed and have their location registered with a channel naming service.NetChannelOutputobjects are constructed and connected toNetChannelInputobjects whose location is resolved from a channel naming service.- Author:
- Quickstone Technologies Limited
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetSharedChannelOutputcreateAny2Net(String name)Constructs aNetSharedChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name.NetSharedChannelOutputcreateAny2Net(String name, NameAccessLevel accessLevel)Constructs aNetSharedChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name that exists in the supplied namespace.NetSharedChannelInputcreateNet2Any(String name)Constructs aNetSharedChannelInputobject and registers its location with the supplied name in the global namespace of a channel naming service.NetSharedChannelInputcreateNet2Any(String name, NameAccessLevel nameAccessLevel)Constructs aNetSharedChannelInputobject and registers its location with the supplied name in specified namespace of a channel naming service.NetAltingChannelInputcreateNet2One(String name)Constructs aNetAltingChannelInputobject and registers its location with the supplied name in the global namespace of a channel naming service.NetAltingChannelInputcreateNet2One(String name, NameAccessLevel nameAccessLevel)Constructs aNetAltingChannelInputobject and registers its location with the supplied name in specified namespace of a channel naming service.NetChannelOutputcreateOne2Net(String name)Constructs aNetChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name.NetChannelOutputcreateOne2Net(String name, NameAccessLevel accessLevel)Constructs aNetChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name that exists in the supplied namespace.
-
-
-
Method Detail
-
createNet2One
NetAltingChannelInput createNet2One(String name)
Constructs aNetAltingChannelInputobject and registers its location with the supplied name in the global namespace of a channel naming service.- Parameters:
name- the name against which to register the channel.- Returns:
- the constructed
NetAltingChannelInputobject.
-
createNet2One
NetAltingChannelInput createNet2One(String name, NameAccessLevel nameAccessLevel)
Constructs aNetAltingChannelInputobject and registers its location with the supplied name in specified namespace of a channel naming service.- Parameters:
name- the name against which to register the channel.nameAccessLevel- the namespace in which to register the name.- Returns:
- the constructed
NetAltingChannelInputobject.
-
createNet2Any
NetSharedChannelInput createNet2Any(String name)
Constructs aNetSharedChannelInputobject and registers its location with the supplied name in the global namespace of a channel naming service.- Parameters:
name- the name against which to register the channel.- Returns:
- the constructed
NetSharedChannelInputobject.
-
createNet2Any
NetSharedChannelInput createNet2Any(String name, NameAccessLevel nameAccessLevel)
Constructs aNetSharedChannelInputobject and registers its location with the supplied name in specified namespace of a channel naming service.- Parameters:
name- the name against which to register the channel.nameAccessLevel- the namespace in which to register the name.- Returns:
- the constructed
NetSharedChannelInputobject.
-
createOne2Net
NetChannelOutput createOne2Net(String name)
Constructs aNetChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name.- Parameters:
name- the name of the channel from which to resolve the location.- Returns:
- the constructed
NetChannelOutputobject.
-
createOne2Net
NetChannelOutput createOne2Net(String name, NameAccessLevel accessLevel)
Constructs aNetChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name that exists in the supplied namespace.- Parameters:
name- the name of the channel from which to resolve the location.accessLevel- the namespace in which the channel name exists.- Returns:
- the constructed
NetChannelOutputobject.
-
createAny2Net
NetSharedChannelOutput createAny2Net(String name)
Constructs aNetSharedChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name.- Parameters:
name- the name of the channel from which to resolve the location.- Returns:
- the constructed
NetChannelOutputobject.
-
createAny2Net
NetSharedChannelOutput createAny2Net(String name, NameAccessLevel accessLevel)
Constructs aNetSharedChannelOutputobject connected to aNetChannelInputlocated at a location resolved from the specified channel name that exists in the supplied namespace.- Parameters:
name- the name of the channel from which to resolve the location.accessLevel- the namespace in which the channel name exists.- Returns:
- the constructed
NetChannelOutputobject.
-
-