Package org.jcsp.net.dynamic
Supports dynamic operations over the JCSP.NET infrastructure. These include dynamic oading of classes when objects are sent to a node that does not already hold appropriate definitions and the migration of channel ends between nodes without any loss of data.
This package cannot be compiled or run using JDK1.1.
This package is currently in a beta state and the API may be subject to changes.
-
Interface Summary Interface Description InputReconnectionManager Receiving end of a migratable channel.MigratableChannelInput A migratable networked input channel end.MigratableChannelOutput A migratable networked channel output end.NamedMigratableChannelEndFactory Factory interface for creating migratable networked channel input ends using a CNS service.OutputReconnectionManager Writing end of a migratable channel.SerializedData.InputStreamFactory Factory for creating object input streams. -
Class Summary Class Description ClassManager A process for retrieving and registering classes that cannot be found locally.ClassManager.ClassRequest Marshals a set of parameters for passing information betweengetClass
and the main process thread.ClassManager.RegisteredClass Used in theclasses
hash table to represent class names.DataSerializationFilter A filter to be plugged into the sending end of a channel if dynamic class transfer is to be supported over the channel.DeserializeChannelFilter This class is used in the dynamic class loading mechanism.DynamicClassLoader A service implementation for supporting dynamic class transfer at a node.DynamicClassLoaderMessage Wraps an object when it is being sent over a channel by theDataSerializationFilter
so that it includes aNetChannelLocation
referring to the JFTP request channel to service requests for the class's binary image if it is not held at the receiving end.InputReconnectionManagerCNSImpl Implementation of theInputReconnectionManager
to work with a CNS service for resolution of the channel's current location.JFTP A server process for dispatching binary images of classes to nodes that do not hold suitable definitions locally.JFTP.ChanSet Implementation of a set type structure for holdingChannelOutput
objects with a flag to indicate that the request set is currently being processed.JFTP.ClassReply Represents a reply to a client for a loaded class, giving the class name and binary image.JFTP.ClassRequest Represents a class request, indicating the class required, the channel to reply to the client on and the flags to indicate whether a manifest is also wanted.JFTP.JarManifestReply Represents a reply to a client detailing a manifest of an archive.MigratableAltingChannelInput A migratable input channel end that can be used as a guard within anAlternative
.MigratableAltingChannelInputImpl Implements a migratable input channel end that can be used in anAlternative
.MigratableChannelEnd Static factory for creating migratable channel ends.MigratableChannelEndFactory Factory for creating networked migratable channel ends.MigratableChannelOutputImpl Implements of a migratable networked channel output end.NamedMigratableChannelEndFactoryImpl Implementation of the factory for creating named migratable networked channel ends.NodeClassLoader Custom class loader for retrieving class files from a JFTP process on another node.NodeClassLoader.LoaderThread Child process to communicate with the JFTP process, issuing requests to it and waiting for replies.NotNameableNetChannelLocation Instances of this class take anotherNetChannelLocation
object and effectivly "clone" its attributes.OutputReconnectionManagerCNSImpl Implementation of the output reconnection manager that uses a CNS service to track channel ends.SerializedData Serialized form of an object as as part of aDynamicClassLoaderMessage
.SerializedData.AccesibleByteArrayOutputStream This class exists purely for performance reasons.SerializedData.ExtClass This class exists because the main class cannot have a no-arg constructor as required by externalizable. -
Exception Summary Exception Description ChannelEndContructionException Thrown when a reconnection mannager is unable to recreate the underlying channel.ChannelEndNotMoveableException Thrown when a channel end cannot be moved.