Package | Description |
---|---|
org.jcsp.net |
This is main package for JCSP.NET.
|
org.jcsp.net.cns |
This package contains the files specifically for the
JCSP.NET Channel Name Service (CNS).
|
org.jcsp.net.dynamic |
Supports dynamic operations over the JCSP.NET infrastructure.
|
org.jcsp.net.remote |
Supports the remote spawning of processes at other nodes.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
NetConnectionLocation
Instances of this class take two
NetConnectionLocation
objects. |
Modifier and Type | Field and Description |
---|---|
private NetChannelLocation |
One2NetChannel.channelLocation
The channel name.
|
private NetChannelLocation |
NetConnectionLocation.reqLoc |
Modifier and Type | Method and Description |
---|---|
NetChannelLocation |
NetSharedAltingConnectionClient.getChannelLocation()
Returns the address location of the connection server.
|
NetChannelLocation |
Net2OneChannel.getChannelLocation()
Returns a new
NetChannelLocation object which holds the
information necessary for a networked ChannelOutput to
establish a connection to this channel reader. |
NetChannelLocation |
NetAltingConnectionServer.getChannelLocation()
Returns the server's location.
|
NetChannelLocation |
NetAltingConnectionClient.getChannelLocation()
Returns the location of the server.
|
NetChannelLocation |
Any2NetChannel.getChannelLocation()
Public accessor for obtaining the location of the read
end of this channel.
|
NetChannelLocation |
Networked.getChannelLocation()
Returns the location of the
Networked
ChannelInput . |
NetChannelLocation |
NetSharedConnectionServerImpl.getChannelLocation()
Returns the server's location.
|
NetChannelLocation |
One2NetChannel.getChannelLocation()
Returns a clone of the
NetChannelLocation object
held by the instance of this class which contains information
about the location of the networked ChannelInput
object to which this ChannelOutput is connected. |
NetChannelLocation |
Net2AnyChannel.getChannelLocation() |
NetChannelLocation |
NetConnectionLocation.getRequestChannelLocation() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
NetChannelLocation.checkEqual(NetChannelLocation other)
This method is used by the
equals(Object) method
to determine whether another object is equal to the one on which
it is invoked. |
(package private) static NetSharedAltingConnectionClient |
NetSharedAltingConnectionClient.create(NetChannelLocation serverLoc) |
(package private) static NetAltingConnectionClient |
NetAltingConnectionClient.create(NetChannelLocation serverLoc) |
NetSharedAltingConnectionClient |
StandardNetConnectionFactory.createAny2Net(NetChannelLocation serverLoc) |
NetSharedChannelOutput |
NetChannelEndFactory.createAny2Net(NetChannelLocation loc)
Constructs a
NetSharedChannelOutput object. |
static NetSharedChannelOutput |
NetChannelEnd.createAny2Net(NetChannelLocation loc) |
NetSharedChannelOutput |
UnacknowledgedNetChannelEndFactory.createAny2Net(NetChannelLocation loc)
Creates an unacknowledged output channel end suitable for use by multiple writers.
|
NetSharedAltingConnectionClient |
NetConnectionFactory.createAny2Net(NetChannelLocation serverLoc)
Constructs a
NetSharedAltingConnectionClient object. |
static NetSharedAltingConnectionClient |
NetConnection.createAny2Net(NetChannelLocation serverLoc) |
NetSharedChannelOutput |
StandardNetChannelEndFactory.createAny2Net(NetChannelLocation loc) |
NetAltingConnectionClient |
StandardNetConnectionFactory.createOne2Net(NetChannelLocation serverLoc) |
NetChannelOutput |
NetChannelEndFactory.createOne2Net(NetChannelLocation loc)
Constructs a
NetChannelOutput object. |
static NetChannelOutput |
NetChannelEnd.createOne2Net(NetChannelLocation loc) |
NetChannelOutput |
UnacknowledgedNetChannelEndFactory.createOne2Net(NetChannelLocation loc)
Creates an unacknowledged output channel end suitable for use by a single writer.
|
NetAltingConnectionClient |
NetConnectionFactory.createOne2Net(NetChannelLocation serverLoc)
Constructs a
NetAltingConnectionClient object. |
static NetAltingConnectionClient |
NetConnection.createOne2Net(NetChannelLocation serverLoc) |
NetChannelOutput |
StandardNetChannelEndFactory.createOne2Net(NetChannelLocation loc) |
void |
Any2NetChannel.recreate(NetChannelLocation loc)
Requests that the channel recreates itself and reconnects
to the other end of the channel.
|
void |
NetChannelOutput.recreate(NetChannelLocation newLoc)
Requests that the instance of the implementing class should
reinitialize itself with a new location.
|
void |
One2NetChannel.recreate(NetChannelLocation newLoc)
Requests that the channel recreates itself and reconnects to the
other end of the channel.
|
protected void |
NetChannelLocation.refreshFrom(NetChannelLocation other)
This method refreshes the fields in the instance of this object to
equal the fields in the supplied object.
|
Constructor and Description |
---|
Any2NetChannel(NetChannelLocation channelLocation)
Equivalent to the
(NetChannelLocation) constructor of
One2NetChannel . |
Any2NetChannel(NetChannelLocation channelLocation,
boolean acknowledged)
Equivalent to the
(NetChannelLocation, boolean) constructor
of One2NetChannel . |
Any2NetChannel(NetChannelLocation channelLocation,
boolean acknowledged,
Profile linkProfile)
Equivalent to the
(NetChannelLocation, boolean, Profile)
constructor of One2NetChannel . |
Any2NetChannel(NetChannelLocation channelLocation,
Profile linkProfile)
Equivalent to the
(NetChannelLocation, Profile) constructor
of One2NetChannel . |
NetChannelLocation(NetChannelLocation other)
This is a protected constructor which takes another
NetChannelLocation object and "clones" it into this one. |
NetConnectionLocation(NetChannelLocation open,
NetChannelLocation req)
Constructor for NetConnectionLocation.
|
One2NetChannel(NetChannelLocation channelLocation)
Constructor which takes the location of a
Networked
ChannelInput to which to send data. |
One2NetChannel(NetChannelLocation channelLocation,
boolean acknowledged)
Constructor which takes the location of a
Networked
ChannelInput to which to send data and a
boolean indicating whether or not to obtain
acknowledgements. |
One2NetChannel(NetChannelLocation channelLocation,
boolean acknowledged,
Profile linkProfile)
Constructor which takes the location of a
Networked
ChannelInput to which to send data and a
boolean indicating whether or not to obtain
acknowledgements. |
One2NetChannel(NetChannelLocation channelLocation,
Profile linkProfile)
Constructor which takes the location of a
Networked
ChannelInput to which to send data and a
Profile that any Link used should match. |
Modifier and Type | Class and Description |
---|---|
class |
CNSNetChannelLocation
Instances of this class are returned by the resolve methods
of
. |
Modifier and Type | Field and Description |
---|---|
(package private) NetChannelLocation |
CNSMessage.RegisterRequest.channelLocation |
(package private) NetChannelLocation |
CNSMessage.ResolveReply.channelLocation |
private NetChannelLocation |
CNSService.cnsChannelLocation |
(package private) NetChannelLocation |
CNSMessage.LogonMessage.replyLocation |
(package private) NetChannelLocation |
CNSMessage.CNSRequestMessage.replyLocation |
Modifier and Type | Method and Description |
---|---|
private NetChannelLocation |
CNS.getChannel(java.lang.String channelName,
NameAccessLevel nameAccessLevel)
Get a ChannelID for a channel with a name that matches the supplied name
and whose name is within the supplied scope.
|
static NetChannelLocation |
CNS.resolve(java.lang.String name) |
NetChannelLocation |
CNSService.resolve(java.lang.String name)
This method resolves a channel name into a
NetChannelLocation object. |
NetChannelLocation |
CNSService.UserObject.resolve(java.lang.String name) |
NetChannelLocation |
CNSUser.resolve(java.lang.String name)
This method resolves a channel name into a
NetChannelLocation object. |
static NetChannelLocation |
CNS.resolve(java.lang.String name,
NameAccessLevel accessLevel) |
NetChannelLocation |
CNSService.resolve(java.lang.String name,
NameAccessLevel accessLevel)
This method resolves a channel name into a
NetChannelLocation object. |
NetChannelLocation |
CNSService.UserObject.resolve(java.lang.String name,
NameAccessLevel accessLevel) |
NetChannelLocation |
CNSUser.resolve(java.lang.String name,
NameAccessLevel accessLevel)
This method resolves a channel name into a
NetChannelLocation object. |
Modifier and Type | Method and Description |
---|---|
static ChannelNameKey |
CNS.register(NetChannelLocation ownerLocation,
java.lang.String name,
NameAccessLevel accessLevel,
ChannelNameKey key) |
ChannelNameKey |
CNSService.register(NetChannelLocation ownerLocation,
java.lang.String name,
NameAccessLevel accessLevel,
ChannelNameKey key)
This method allows a channel's location to be registered against a
name in the Channel Name Server.
|
ChannelNameKey |
CNSService.UserObject.register(NetChannelLocation ownerLocation,
java.lang.String name,
NameAccessLevel accessLevel,
ChannelNameKey key) |
ChannelNameKey |
CNSUser.register(NetChannelLocation ownerLocation,
java.lang.String name,
NameAccessLevel accessLevel,
ChannelNameKey key)
This method allows a channel's location to be registered against a
name in the Naming Service implementation.
|
private ChannelNameKey |
CNS.registerChannel(java.lang.String channelName,
NameAccessLevel nameAccessLevel,
NetChannelLocation channelLoc,
ChannelNameKey channelKey)
Register a Channel in the database.
|
Constructor and Description |
---|
CNSNetChannelLocation(NetChannelLocation locToClone,
java.lang.String name,
NameAccessLevel accessLevel,
CNSService cnsService,
java.lang.String cnsServiceName) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
NotNameableNetChannelLocation
Instances of this class take another
NetChannelLocation
object and effectivly "clone" its attributes. |
Modifier and Type | Field and Description |
---|---|
NetChannelLocation |
ClassManager.ClassRequest.classSourceChannelLoc |
private NetChannelLocation |
DynamicClassLoaderMessage.classSourceChannelLoc
The location of the request channel of the sender's JFTP process.
|
private NetChannelLocation |
InputReconnectionManagerCNSImpl.cnsNetChannelLocation
Current location of the channel.
|
private NetChannelLocation |
DataSerializationFilter.senderLoc
Location of the JFTP service's request channel.
|
private NetChannelLocation |
NodeClassLoader.LoaderThread.sourceChannelLocation
Location of a JFTP process request channel.
|
Modifier and Type | Method and Description |
---|---|
NetChannelLocation |
MigratableAltingChannelInputImpl.getChannelLocation() |
NetChannelLocation |
MigratableChannelOutputImpl.getChannelLocation() |
NetChannelLocation |
InputReconnectionManager.getCurrentLocation()
Returns the current location of the channel.
|
NetChannelLocation |
InputReconnectionManagerCNSImpl.getCurrentLocation()
Returns the current location of the channel.
|
Modifier and Type | Method and Description |
---|---|
NetSharedChannelOutput |
MigratableChannelEndFactory.createAny2Net(NetChannelLocation loc) |
static MigratableChannelOutput |
MigratableChannelEnd.createOne2Net(NetChannelLocation loc)
Creates a migratable channel output to a given location.
|
NetChannelOutput |
MigratableChannelEndFactory.createOne2Net(NetChannelLocation loc) |
void |
ClassManager.getClass(java.lang.String name,
NetChannelLocation classSourceChannelLoc,
ChannelOutput replyChan)
Requests that the class manager process attempt to load the given class.
|
void |
MigratableChannelOutputImpl.recreate(NetChannelLocation newLoc) |
Constructor and Description |
---|
ClassRequest(java.lang.String name,
NetChannelLocation classSourceChannelLoc,
ChannelOutput replyChan) |
DataSerializationFilter(NetChannelLocation senderLoc)
Constructs a new
DataSerializationFilter object. |
DynamicClassLoaderMessage(java.lang.Object data,
NetChannelLocation classSourceChannelLoc)
Creates a new
DynamicClassLoaderMessage encapsulating the given object. |
LoaderThread(NetChannelLocation sourceChannelLocation,
AltingChannelInput classRequest,
ChannelOutput classResponse,
java.lang.ClassLoader deferredLoader,
ClassManager classManager)
Constructs a new
LoaderThread . |
NodeClassLoader(NetChannelLocation sourceChannelLocation,
ClassManager cm)
Constructs a new
NodeClassLoader for loading classes held by a JFTP process at
another node. |
NotNameableNetChannelLocation(NetChannelLocation other)
Constructor which takes another
NetChannelLocation
object to "copy". |
Modifier and Type | Field and Description |
---|---|
NetChannelLocation |
SpawnerMessage.caller |
private NetChannelLocation |
RemoteProcess.remoteNode
The location of the node to start the process at.
|
Constructor and Description |
---|
SpawnerMessage(CSProcess process,
NetChannelLocation caller,
NodeFactory factory,
ApplicationID applicationID,
java.lang.String classPath)
Constructs a new message.
|