Uses of Class
org.jcsp.net.NetChannelLocation
Packages that use NetChannelLocation
Package
Description
This is main package for JCSP.NET.
This package contains the files specifically for the
JCSP.NET Channel Name Service (CNS).
Supports dynamic operations over the JCSP.NET infrastructure.
Supports the remote spawning of processes at other nodes.
-
Uses of NetChannelLocation in org.jcsp.net
Subclasses of NetChannelLocation in org.jcsp.netModifier and TypeClassDescription(package private) class
Instances of this class take twoNetConnectionLocation
objects.Fields in org.jcsp.net declared as NetChannelLocationModifier and TypeFieldDescriptionprivate NetChannelLocation
One2NetChannel.channelLocation
The channel name.private NetChannelLocation
NetConnectionLocation.reqLoc
Methods in org.jcsp.net that return NetChannelLocationModifier and TypeMethodDescriptionAny2NetChannel.getChannelLocation()
Public accessor for obtaining the location of the read end of this channel.Net2AnyChannel.getChannelLocation()
Net2OneChannel.getChannelLocation()
Returns a newNetChannelLocation
object which holds the information necessary for a networkedChannelOutput
to establish a connection to this channel reader.NetAltingConnectionClient.getChannelLocation()
Returns the location of the server.NetAltingConnectionServer.getChannelLocation()
Returns the server's location.NetSharedAltingConnectionClient.getChannelLocation()
Returns the address location of the connection server.NetSharedConnectionServerImpl.getChannelLocation()
Returns the server's location.Networked.getChannelLocation()
Returns the location of theNetworked
ChannelInput
.One2NetChannel.getChannelLocation()
Returns a clone of theNetChannelLocation
object held by the instance of this class which contains information about the location of the networkedChannelInput
object to which thisChannelOutput
is connected.NetConnectionLocation.getRequestChannelLocation()
Methods in org.jcsp.net with parameters of type NetChannelLocationModifier and TypeMethodDescriptionprotected boolean
NetChannelLocation.checkEqual
(NetChannelLocation other) This method is used by theequals(Object)
method to determine whether another object is equal to the one on which it is invoked.(package private) static NetAltingConnectionClient
NetAltingConnectionClient.create
(NetChannelLocation serverLoc) (package private) static NetSharedAltingConnectionClient
NetSharedAltingConnectionClient.create
(NetChannelLocation serverLoc) static NetSharedChannelOutput
NetChannelEnd.createAny2Net
(NetChannelLocation loc) NetChannelEndFactory.createAny2Net
(NetChannelLocation loc) Constructs aNetSharedChannelOutput
object.NetConnection.createAny2Net
(NetChannelLocation serverLoc) NetConnectionFactory.createAny2Net
(NetChannelLocation serverLoc) Constructs aNetSharedAltingConnectionClient
object.StandardNetChannelEndFactory.createAny2Net
(NetChannelLocation loc) StandardNetConnectionFactory.createAny2Net
(NetChannelLocation serverLoc) UnacknowledgedNetChannelEndFactory.createAny2Net
(NetChannelLocation loc) Creates an unacknowledged output channel end suitable for use by multiple writers.static NetChannelOutput
NetChannelEnd.createOne2Net
(NetChannelLocation loc) NetChannelEndFactory.createOne2Net
(NetChannelLocation loc) Constructs aNetChannelOutput
object.static NetAltingConnectionClient
NetConnection.createOne2Net
(NetChannelLocation serverLoc) NetConnectionFactory.createOne2Net
(NetChannelLocation serverLoc) Constructs aNetAltingConnectionClient
object.StandardNetChannelEndFactory.createOne2Net
(NetChannelLocation loc) StandardNetConnectionFactory.createOne2Net
(NetChannelLocation serverLoc) UnacknowledgedNetChannelEndFactory.createOne2Net
(NetChannelLocation loc) Creates an unacknowledged output channel end suitable for use by a single writer.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 final void
NetChannelLocation.refreshFrom
(NetChannelLocation other) This method refreshes the fields in the instance of this object to equal the fields in the supplied object.Constructors in org.jcsp.net with parameters of type NetChannelLocationModifierConstructorDescriptionAny2NetChannel
(NetChannelLocation channelLocation) Equivalent to the(NetChannelLocation)
constructor ofOne2NetChannel
.Any2NetChannel
(NetChannelLocation channelLocation, boolean acknowledged) Equivalent to the(NetChannelLocation, boolean)
constructor ofOne2NetChannel
.Any2NetChannel
(NetChannelLocation channelLocation, boolean acknowledged, Profile linkProfile) Equivalent to the(NetChannelLocation, boolean, Profile)
constructor ofOne2NetChannel
.Any2NetChannel
(NetChannelLocation channelLocation, Profile linkProfile) Equivalent to the(NetChannelLocation, Profile)
constructor ofOne2NetChannel
.protected
This is a protected constructor which takes anotherNetChannelLocation
object and "clones" it into this one.Constructor for NetConnectionLocation.One2NetChannel
(NetChannelLocation channelLocation) Constructor which takes the location of aNetworked
ChannelInput
to which to send data.One2NetChannel
(NetChannelLocation channelLocation, boolean acknowledged) Constructor which takes the location of aNetworked
ChannelInput
to which to send data and aboolean
indicating whether or not to obtain acknowledgements.One2NetChannel
(NetChannelLocation channelLocation, boolean acknowledged, Profile linkProfile) Constructor which takes the location of aNetworked
ChannelInput
to which to send data and aboolean
indicating whether or not to obtain acknowledgements.One2NetChannel
(NetChannelLocation channelLocation, Profile linkProfile) Constructor which takes the location of aNetworked
ChannelInput
to which to send data and aProfile
that any Link used should match. -
Uses of NetChannelLocation in org.jcsp.net.cns
Subclasses of NetChannelLocation in org.jcsp.net.cnsModifier and TypeClassDescriptionclass
Instances of this class are returned by the resolve methods of
.CNSService
Fields in org.jcsp.net.cns declared as NetChannelLocationModifier and TypeFieldDescription(package private) NetChannelLocation
CNSMessage.RegisterRequest.channelLocation
(package private) NetChannelLocation
CNSMessage.ResolveReply.channelLocation
private NetChannelLocation
CNSService.cnsChannelLocation
(package private) NetChannelLocation
CNSMessage.CNSRequestMessage.replyLocation
(package private) NetChannelLocation
CNSMessage.LogonMessage.replyLocation
Methods in org.jcsp.net.cns that return NetChannelLocationModifier and TypeMethodDescriptionprivate NetChannelLocation
CNS.getChannel
(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
static NetChannelLocation
CNS.resolve
(String name, NameAccessLevel accessLevel) This method resolves a channel name into aNetChannelLocation
object.CNSService.resolve
(String name, NameAccessLevel accessLevel) This method resolves a channel name into aNetChannelLocation
object.CNSService.UserObject.resolve
(String name, NameAccessLevel accessLevel) This method resolves a channel name into aNetChannelLocation
object.CNSUser.resolve
(String name, NameAccessLevel accessLevel) This method resolves a channel name into aNetChannelLocation
object.Methods in org.jcsp.net.cns with parameters of type NetChannelLocationModifier and TypeMethodDescriptionstatic ChannelNameKey
CNS.register
(NetChannelLocation ownerLocation, String name, NameAccessLevel accessLevel, ChannelNameKey key) CNSService.register
(NetChannelLocation ownerLocation, String name, NameAccessLevel accessLevel, ChannelNameKey key) This method allows a channel's location to be registered against a name in the Channel Name Server.CNSService.UserObject.register
(NetChannelLocation ownerLocation, String name, NameAccessLevel accessLevel, ChannelNameKey key) CNSUser.register
(NetChannelLocation ownerLocation, 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
(String channelName, NameAccessLevel nameAccessLevel, NetChannelLocation channelLoc, ChannelNameKey channelKey) Register a Channel in the database.Constructors in org.jcsp.net.cns with parameters of type NetChannelLocationModifierConstructorDescription(package private)
CNSNetChannelLocation
(NetChannelLocation locToClone, String name, NameAccessLevel accessLevel, CNSService cnsService, String cnsServiceName) -
Uses of NetChannelLocation in org.jcsp.net.dynamic
Subclasses of NetChannelLocation in org.jcsp.net.dynamicModifier and TypeClassDescription(package private) class
Instances of this class take anotherNetChannelLocation
object and effectivly "clone" its attributes.Fields in org.jcsp.net.dynamic declared as NetChannelLocationModifier and TypeFieldDescriptionfinal NetChannelLocation
ClassManager.ClassRequest.classSourceChannelLoc
private final 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 final NetChannelLocation
NodeClassLoader.LoaderThread.sourceChannelLocation
Location of a JFTP process request channel.Methods in org.jcsp.net.dynamic that return NetChannelLocationModifier and TypeMethodDescriptionMigratableAltingChannelInputImpl.getChannelLocation()
MigratableChannelOutputImpl.getChannelLocation()
InputReconnectionManager.getCurrentLocation()
Returns the current location of the channel.InputReconnectionManagerCNSImpl.getCurrentLocation()
Returns the current location of the channel.Methods in org.jcsp.net.dynamic with parameters of type NetChannelLocationModifier and TypeMethodDescriptionMigratableChannelEndFactory.createAny2Net
(NetChannelLocation loc) static MigratableChannelOutput
MigratableChannelEnd.createOne2Net
(NetChannelLocation loc) Creates a migratable channel output to a given location.MigratableChannelEndFactory.createOne2Net
(NetChannelLocation loc) void
ClassManager.getClass
(String name, NetChannelLocation classSourceChannelLoc, ChannelOutput replyChan) Requests that the class manager process attempt to load the given class.void
MigratableChannelOutputImpl.recreate
(NetChannelLocation newLoc) Constructors in org.jcsp.net.dynamic with parameters of type NetChannelLocationModifierConstructorDescriptionClassRequest
(String name, NetChannelLocation classSourceChannelLoc, ChannelOutput replyChan) DataSerializationFilter
(NetChannelLocation senderLoc) Constructs a newDataSerializationFilter
object.DynamicClassLoaderMessage
(Object data, NetChannelLocation classSourceChannelLoc) Creates a newDynamicClassLoaderMessage
encapsulating the given object.LoaderThread
(NetChannelLocation sourceChannelLocation, AltingChannelInput classRequest, ChannelOutput classResponse, ClassLoader deferredLoader, ClassManager classManager) Constructs a newLoaderThread
.NodeClassLoader
(NetChannelLocation sourceChannelLocation, ClassManager cm) Constructs a newNodeClassLoader
for loading classes held by a JFTP process at another node.Constructor which takes anotherNetChannelLocation
object to "copy". -
Uses of NetChannelLocation in org.jcsp.net.remote
Fields in org.jcsp.net.remote declared as NetChannelLocationModifier and TypeFieldDescriptionfinal NetChannelLocation
SpawnerMessage.caller
private final NetChannelLocation
RemoteProcess.remoteNode
The location of the node to start the process at.Constructors in org.jcsp.net.remote with parameters of type NetChannelLocationModifierConstructorDescriptionSpawnerMessage
(CSProcess process, NetChannelLocation caller, NodeFactory factory, ApplicationID applicationID, String classPath) Constructs a new message.