org.jcsp.net.cns
public interface NamedChannelEndFactory
Classes implementing this interface act as factories for constructing
NetChannelInput
and NetChannelOutput
objects.
NetChannelInput
objects are constructed and have their
location registered with a channel naming service.
NetChannelOutput
objects are constructed and connected
to NetChannelInput
objects whose location is resolved from
a channel naming service.
Modifier and Type | Method and Description |
---|---|
NetSharedChannelOutput |
createAny2Net(String name)
Constructs a
NetSharedChannelOutput object connected
to a NetChannelInput located at a location
resolved from the specified channel name. |
NetSharedChannelOutput |
createAny2Net(String name,
NameAccessLevel accessLevel)
Constructs a
NetSharedChannelOutput object connected
to a NetChannelInput located at a location
resolved from the specified channel name that exists in the supplied
namespace. |
NetSharedChannelInput |
createNet2Any(String name)
Constructs a
NetSharedChannelInput object and
registers its location with the supplied name in the global namespace
of a channel naming service. |
NetSharedChannelInput |
createNet2Any(String name,
NameAccessLevel nameAccessLevel)
Constructs a
NetSharedChannelInput object and
registers its location with the supplied name in specified
namespace of a channel naming service. |
NetAltingChannelInput |
createNet2One(String name)
Constructs a
NetAltingChannelInput object and
registers its location with the supplied name in the global namespace
of a channel naming service. |
NetAltingChannelInput |
createNet2One(String name,
NameAccessLevel nameAccessLevel)
Constructs a
NetAltingChannelInput object and
registers its location with the supplied name in specified
namespace of a channel naming service. |
NetChannelOutput |
createOne2Net(String name)
Constructs a
NetChannelOutput object connected
to a NetChannelInput located at a location
resolved from the specified channel name. |
NetChannelOutput |
createOne2Net(String name,
NameAccessLevel accessLevel)
Constructs a
NetChannelOutput object connected
to a NetChannelInput located at a location
resolved from the specified channel name that exists in the supplied
namespace. |
NetAltingChannelInput createNet2One(String name)
NetAltingChannelInput
object and
registers its location with the supplied name in the global namespace
of a channel naming service.name
- the name against which to register the channel.NetAltingChannelInput
object.NetAltingChannelInput createNet2One(String name, NameAccessLevel nameAccessLevel)
NetAltingChannelInput
object and
registers its location with the supplied name in specified
namespace of a channel naming service.name
- the name against which to register the channel.nameAccessLevel
- the namespace in which to register the name.NetAltingChannelInput
object.NetSharedChannelInput createNet2Any(String name)
NetSharedChannelInput
object and
registers its location with the supplied name in the global namespace
of a channel naming service.name
- the name against which to register the channel.NetSharedChannelInput
object.NetSharedChannelInput createNet2Any(String name, NameAccessLevel nameAccessLevel)
NetSharedChannelInput
object and
registers its location with the supplied name in specified
namespace of a channel naming service.name
- the name against which to register the channel.nameAccessLevel
- the namespace in which to register the name.NetSharedChannelInput
object.NetChannelOutput createOne2Net(String name)
NetChannelOutput
object connected
to a NetChannelInput
located at a location
resolved from the specified channel name.name
- the name of the channel from which to resolve the location.NetChannelOutput
object.NetChannelOutput createOne2Net(String name, NameAccessLevel accessLevel)
NetChannelOutput
object connected
to a NetChannelInput
located at a location
resolved from the specified channel name that exists in the supplied
namespace.name
- the name of the channel from which to resolve the location.accessLevel
- the namespace in which the channel name exists.NetChannelOutput
object.NetSharedChannelOutput createAny2Net(String name)
NetSharedChannelOutput
object connected
to a NetChannelInput
located at a location
resolved from the specified channel name.name
- the name of the channel from which to resolve the location.NetChannelOutput
object.NetSharedChannelOutput createAny2Net(String name, NameAccessLevel accessLevel)
NetSharedChannelOutput
object connected
to a NetChannelInput
located at a location
resolved from the specified channel name that exists in the supplied
namespace.name
- the name of the channel from which to resolve the location.accessLevel
- the namespace in which the channel name exists.NetChannelOutput
object.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.