Package org.jcsp.net.cns
package org.jcsp.net.cns
This package contains the files specifically for the JCSP.NET Channel Name Service (CNS). A CNS provides a broker service, enabling distributed JCSP processes to set up communications with each other. Networked channels have names. Currently, networked channels are automatically Any-One. The reading process is responsible for creating the channel and (optionally) registering it with a CNS with some unique (to the CNS) name. Writing processes need to know (or be told) the name of a networked channel to connect to it by the CNS. Communications between networked writers and reader then proceed directly (independent from the CNS).
See
and CNS
for information on the service.
CNSService
-
ClassDescriptionAn exception caused by an invalid channel name.Instances of this hold a key for a particular channel.This class is the Channel Name Server's main server process class.A data structure for holding a channel name and access level.This class implements the
NamedChannelEndManager
interface; providing methods for both constructing and destroying channels.This class is only visible to this package and does not need to be used by JCSP users.Instances of this class are returned by the resolve methods of
.CNSService
This class is the Channel Name Server's main client process class.Data structure for pending resolve requests.Interface that a class can implement to indicate that instances allow channel names within a naming service to be managed.This class should be implemented by NetChannelLocation objects which do not want to allow themselves to be registered with the Channel Name Server.This class allows name spaces to be identified aroundAbstractID
objects (currently includingApplicationID
,NodeID
,DomainID
andGlobalID
).An exception caused by an invalid or misused NameAccessLevel.Classes implementing this interface act as factories for constructingNetChannelInput
andNetChannelOutput
objects.Classes implementing this interface act as factories for constructingNetChannelInput
andNetChannelOutput
objects (seeNamedChannelEndFactory
).Thrown if an attempt is made to get aNamedChannelEndManager
to destroy a channel that it did not create.