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 CNS and CNSService for information on the service.

  • Class
    Description
    An 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.
    This class implements the NamedChannelEndManager interface; providing methods for both constructing and destroying channels.
    Instances of this class are returned by the resolve methods of CNSService.
    This class is the Channel Name Server's main client process class.
    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 around AbstractID objects (currently including ApplicationID, NodeID, DomainID and GlobalID ).
    An exception caused by an invalid or misused NameAccessLevel.
    Classes implementing this interface act as factories for constructing NetChannelInput and NetChannelOutput objects.
    Classes implementing this interface act as factories for constructing NetChannelInput and NetChannelOutput objects (see NamedChannelEndFactory).
    Thrown if an attempt is made to get a NamedChannelEndManager to destroy a channel that it did not create.