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 NetworkedChannelInput
objects.NetChannelEndFactory This interface defines methods for constructing Networked channel ends.NetChannelInput An interface implemented by classes wishing to be NetworkedChannelInput
objects.NetChannelOutput An interface that should be implemented byChannelOutput
objects which are used for transmitting over the network.NetConnectionClient This interface should be implemented by classes that wish to act as NetworkedConnectionClient
objects.NetConnectionFactory This class should be implemented by classes wishing to act as factories for creating NetworkedConnectionServer
andConnectionClient
objects.NetConnectionServer This interface should be implemented by classes that wish to act as NetworkedConnectionServer
objects.NetLabelledBufferedChannelEndFactory This factory constructs bufferedNetChannelInput
objects which have labelled VCN's.NetLabelledChannelEndFactory This factory constructsNetChannelInput
objects which have labelled VCN's.NetSharedChannelInput This interface should be implemented by classes that wish to act asNetChannelInput
objects which can be used by muliple concurrent processes.NetSharedChannelOutput This interface should be implemented by classes that wish to act asNetChannelOutput
objects which can be used by muliple concurrent processes.NetSharedConnectionClient This interface should be implemented by classes that wish to act asSharedConnectionClient
objects which accept connections fromConnectionClient
objects from over a JCSP.NET network.NetSharedConnectionServer Instances of classed implementing this method areSharedConnectionServer
objects 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.SerializedObject.InputStreamFactory 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 ofAbstractID
objects.AcknowledgementsBuffer This is used to create a buffered object channel that always accepts and never loses any input.AcknowledgementsBuffer.Acks Compressed form of one or more acknowledgements.Any2NetChannel A channel for network output (TX).ApplicationID A Class whose instances represent a unique identifier for a JCSP.NET application.ChannelID ChannelIndexMap ChannelIndexMap.Entry ChannelMessage Messages used by channels.ChannelMessage.Ack An acknowledgement.ChannelMessage.Data Data from channel output to channel input.ChannelMessage.WriteRejected ConnectionMessage A message between a Connection Client & Server.ConnectionMessage.Close A close() from client to server to open().ConnectionMessage.Open A request from client to server to open().ConnectionMessage.Ping A ping() from server to client.ConnectionMessage.Pong A pong() from client to server.DeserializeChannelFilter This class is used in the dynamic class loading mechanism.DomainID A Class whose instances represent a unique identifier for a JCSP.NET domain.GlobalID A Class whose instances represent the global domain.IndexManager IndexManager.ChannelAndIndex Link This class is an abstract class that all JCSP.NET protocol implementations must implement.Link.LinkTest 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.LinkFactory.ProtocolComparator LinkFactory.ProtocolPerformanceComparator LinkLost Message warning that a Link broke.LinkManager This class manages the list of open links.LinkManager.LinkCheck LinkManager.LinkRequest LinkManager.LinksToNodeHolder LinkServer An abstract class that must be implemented by communication protocol implementations.Logger Manages the output of diagnostic messages to one or more devices.LoopbackLink LoopbackLink.TxLoopPoison An object of this type is used by RxLoop to poison TxLoop.Message Message to be transmitted.Message.BounceMessage Message.PingMessage Message.PingReplyMessage Net2AnyChannel A channel for network input (RX).Net2OneChannel A channel for network input (RX).NetAltingChannelInput An abstract class that is sub-classed by classes whose instances should be networked channel ends that can be used as an
objects.AltingChannelInput
NetAltingConnectionClient Instances of this class areAltingConnectionClient
objects which connect toConnectionServer
objects over a JCSP.NET network.NetAltingConnectionServer Instances of this class areAltingConnectionServer
objects which allow connections fromConnectionClient
objects from over a JCSP.NET network.NetChannelEnd This class provides static factory methods for constructing Networked channel ends.NetChannelInputProcess A process for network input (RX).NetChannelLocation Instances of this class hold location information for a networkedChannelInput
object.NetConnection This class provides static methods for constructingNetConnectionServer
andNetConnectionClient
objects.NetConnectionLocation Instances of this class take twoNetConnectionLocation
objects.NetSharedAltingConnectionClient Defines a class whose instances should be
that connect to aSharedAltingConnectionClient
ConnectionServer
over a JCSP.NET network.NetSharedConnectionServerImpl 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 forNodeUI
that is used if no other implementation is supplied.One2NetChannel A channel for network output (TX).PingRequirement Profile This class is used to hold profiles of Nodes and Links.ProtocolID Abstract class that identifies a protocol.ProtocolManager TheProtocolManager
class is a singleton class.Requirement SerializedMessage SerializedMessage.AccesibleByteArrayOutputStream SerializedObject SerializedObject.AccesibleByteArrayOutputStream This class exists purely for performance reasons.SerializedObject.ExtClass This class exists because the main class cannot have a no-arg constructor as required by externalizable.ServiceManager An instance of theServiceManager
is 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.Specification StandardNetChannelEndFactory A standard implementation of the JCSP.NET Networked channel factory interaces.StandardNetConnectionFactory This is an implementation of
.NetConnectionFactory
UIFactory 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.LinkManager.LinkEstablishmentException LinkManager.ProfileMatchFailureException Logger.InvalidLoggerException NodeInitFailedException AnException
that is thrown if Node initialization fails.ReaderIndexException An exception that is thrown if data is written to aNetworked
ChannelOutput
and 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.