Package org.jcsp.net
This is main package for JCSP.NET.
Before any JCSP.NET constructs can be used, the JCSP Node must
be initialized. See the class for
more information.
Node
Networked channels can be constructed using the
class or by using
NetChannelEnd.
StandardNetChannelEndFactory
See the org.jcsp.net.cns package for
information on using named channels.
-
Interface Summary Interface Description NetBufferedChannelEndFactory This interface defines methods for constructing buffered NetworkedChannelInputobjects.NetChannelEndFactory This interface defines methods for constructing Networked channel ends.NetChannelInput An interface implemented by classes wishing to be NetworkedChannelInputobjects.NetChannelOutput An interface that should be implemented byChannelOutputobjects which are used for transmitting over the network.NetConnectionClient This interface should be implemented by classes that wish to act as NetworkedConnectionClientobjects.NetConnectionFactory This class should be implemented by classes wishing to act as factories for creating NetworkedConnectionServerandConnectionClientobjects.NetConnectionServer This interface should be implemented by classes that wish to act as NetworkedConnectionServerobjects.NetLabelledBufferedChannelEndFactory This factory constructs bufferedNetChannelInputobjects which have labelled VCN's.NetLabelledChannelEndFactory This factory constructsNetChannelInputobjects which have labelled VCN's.NetSharedChannelInput This interface should be implemented by classes that wish to act asNetChannelInputobjects which can be used by muliple concurrent processes.NetSharedChannelOutput This interface should be implemented by classes that wish to act asNetChannelOutputobjects which can be used by muliple concurrent processes.NetSharedConnectionClient This interface should be implemented by classes that wish to act asSharedConnectionClientobjects which accept connections fromConnectionClientobjects from over a JCSP.NET network.NetSharedConnectionServer Instances of classed implementing this method areSharedConnectionServerobjects which accept connections from clients from over a JCSP.NET network.Networked An interface that should be implemented by any class that has a Networked channel location or wishes to expose the location of an underlying channel.Node.Attributes An interface for exposing access to the private attributes.NodeFactory Node initialisation factory interface.Service An interface that should be implemented by classes that are intended to be Node level JCSP.NET services.ServiceUserObject An Interface which does not define any methods but is used as a way of indicating that a class is used for accessing non-admin functionality provided by a service. -
Class Summary Class Description AbstractID This is an abstract class that is sub-classed by classes whose instances should represent some kind of identifier and be part of a hierarchy ofAbstractIDobjects.ApplicationID A Class whose instances represent a unique identifier for a JCSP.NET application.DomainID A Class whose instances represent a unique identifier for a JCSP.NET domain.GlobalID A Class whose instances represent the global domain.Link This class is an abstract class that all JCSP.NET protocol implementations must implement.LinkFactory This class does not need to be used by normal JCSP users.LinkFactory.Builder An abstract inner class which should be implemented by comunication protocol implementations.LinkLost Message warning that a Link broke.LinkServer An abstract class that must be implemented by communication protocol implementations.Logger Manages the output of diagnostic messages to one or more devices.NetAltingChannelInput An abstract class that is sub-classed by classes whose instances should be networked channel ends that can be used as anobjects.AltingChannelInputNetAltingConnectionClient Instances of this class areAltingConnectionClientobjects which connect toConnectionServerobjects over a JCSP.NET network.NetChannelEnd This class provides static factory methods for constructing Networked channel ends.NetChannelLocation Instances of this class hold location information for a networkedChannelInputobject.NetConnection This class provides static methods for constructingNetConnectionServerandNetConnectionClientobjects.NetSharedAltingConnectionClient Defines a class whose instances should bethat connect to aSharedAltingConnectionClientConnectionServerover a JCSP.NET network.Node This class that is used for initializing and managing the local JCSP.NET Node.NodeAddressID JCSP.NET communication protocol implementations must provide a concrete implementation of this class.NodeID A Class whose instances represent a unique identifier for a JCSP.NET Node.NodeKey An object that is returned when the Node is initialized.NodeUI A Unique Identifier for a Node.NodeUIImpl This is a default implementation forNodeUIthat is used if no other implementation is supplied.Profile This class is used to hold profiles of Nodes and Links.ProtocolID Abstract class that identifies a protocol.ProtocolManager TheProtocolManagerclass is a singleton class.ServiceManager An instance of theServiceManageris created by the Node when it is initialized.ServiceSettings This class is used to hold settings that can be passed to services when they are initialized.StandardNetChannelEndFactory A standard implementation of the JCSP.NET Networked channel factory interaces.StandardNetConnectionFactory This is an implementation of.NetConnectionFactoryUIFactory This class is a Factory that construct a unique identify for this Node.UnacknowledgedNetChannelEndFactory Extends the standard network channel factory to give unacknowledged channel output ends.Utils This class provides some utility methods that developers might find useful when implementing JCSP.NET communication protocol drivers.XMLNodeFactory Factory for node instantiation based on an XML-like file. -
Exception Summary Exception Description DuplicateChannelLabelException This Exception is thrown if there is an attempt to label a channel's VCN with a label that already exists at the same Node.LinkLostException An exception caused by a link underlying a channel breaking.NodeInitFailedException AnExceptionthat is thrown if Node initialization fails.ReaderIndexException An exception that is thrown if data is written to aNetworkedChannelOutputand the destination address is incorrect.ServiceInstallationException An excpetion that is thrown if a service installation fails. -
Error Summary Error Description NetChannelError This is an error that is thrown by a Networked channel if something happens that should never happen.