Uses of Class
org.jcsp.net.NodeAddressID
Packages that use NodeAddressID
Package
Description
This is main package for JCSP.NET.
This package contains the files specifically for the
JCSP.NET Channel Name Service (CNS).
Supports the remote spawning of processes at other nodes.
-
Uses of NodeAddressID in org.jcsp.net
Fields in org.jcsp.net declared as NodeAddressIDModifier and TypeFieldDescriptionprivate NodeAddressID[]
NodeID.addressIDs
This is a set of addresses of LinkServers that the Node, represented by this NodeID, is running.private NodeAddressID
NetChannelLocation.channelAddress
TheNodeAddressID
on which the channel's Node is listening.private final NodeAddressID
LinkServer.linkServerAddressID
Methods in org.jcsp.net that return NodeAddressIDModifier and TypeMethodDescriptionprotected abstract NodeAddressID
ProtocolID.createAddressID
(String stAddressID, boolean uniqueAddress) Constructs aNodeAddressID
from aString
.NodeID.getAddresses()
Returns a clone of the set ofNodeAddressID
objects that thisNodeID
holds.ServiceSettings.getAddresses
(String name) Gets the addresses held in a setting of a specified name.protected static NodeAddressID
NodeAddressID.getAddressIDFromString
(String stringForm) This is is a static method that should be overriden by concrete implementations of this class.final NodeAddressID
NetChannelLocation.getChannelAddress()
Public accessor for the channel's address, if held.protected final NodeAddressID
LinkServer.getLinkServerAddressID()
Protected accessor for obtaining theNodeAddressID
on which this server is listening.Methods in org.jcsp.net with parameters of type NodeAddressIDModifier and TypeMethodDescription(package private) void
NodeID.addAddress
(NodeAddressID addressID) void
ServiceSettings.addAddress
(String name, NodeAddressID address) Adds a named address setting.int
LinkFactory.ProtocolComparator.compare
(NodeAddressID naID1, NodeAddressID naID2) int
LinkFactory.ProtocolComparator.compare
(NodeAddressID naID, ProtocolID pID) int
LinkFactory.ProtocolComparator.compare
(ProtocolID pID, NodeAddressID naID) protected static LinkServer
LinkServer.create
(NodeAddressID addressID) Create a server on a specifiedNodeAddressID, and start it.ProtocolManager.getAddressSpecifications
(NodeAddressID addressID) Returns an array ofSpecification
objects that are held for a specified local address.(package private) ChannelOutput
LinkManager.getTxChannel
(NodeAddressID targetAddress) This is used to get a Link when no details are known about the other Node except for one of its addresses.Node.init
(NodeAddressID localAddress) This method functions the same as callinginit(NodeAddressID[])
with a single element in the array.Node.init
(NodeAddressID[] localAddresses) This method is functionally equivalent to callinginit(NodeAddressID[], HashTable)
with theHashTable
parameter being supplied asnull
.Node.init
(NodeAddressID[] localAddresses, Hashtable[] protocolSettings) Initializes the local Node and startsLinkServer
listening on each of the suppliedNodeAddressID
objects.boolean
ProtocolManager.installProtocolServer
(NodeAddressID addressID, Specification[] specifications) Installs aLinkServer
listening on a specifiedNodeAddressID
and holds the specified set ofSpecification
objects against the address.(package private) Link
LinkFactory.makeLink
(NodeAddressID targetAddress) (package private) void
NodeID.removeAddress
(NodeAddressID addressID) protected abstract LinkServer
ProtocolID.startLinkServer
(NodeAddressID addressID) Constructs, starts and returns aLinkServer
on a specifiedNodeAddressID
.boolean
ProtocolManager.stopProtocolServer
(NodeAddressID addressID) Stops theLinkServer
that is listening on the specified address.abstract Link
LinkFactory.Builder.testAndBuild
(NodeAddressID addressID) Takes aNodeAddressID
and constructs and returns aLink
object.Constructors in org.jcsp.net with parameters of type NodeAddressIDModifierConstructorDescriptionprotected
LinkServer
(ProtocolID protocolID, NodeAddressID linkServerAddressID) Constructor.NetChannelLocation
(NodeAddressID channelAddress, String channelLabel) Constructor which takes aNodeAddressID
on which the channel's Node is listening and the label assigned to the channel's Virtual Channel Number (VCN).(package private)
NodeID
(NodeUI nodeUI, NodeAddressID[] addressIDs, DomainID domainID) (package private)
NodeID
(NodeUI nodeUI, NodeAddressID addressID, DomainID domainID) -
Uses of NodeAddressID in org.jcsp.net.cns
Methods in org.jcsp.net.cns with parameters of type NodeAddressIDModifier and TypeMethodDescriptionstatic CNSService
CNSService.install
(NodeKey key, NodeAddressID cnsAddress) Installs and starts a Channel Name Server client service on the local Node.static CNSService
CNSService.install
(NodeKey key, NodeAddressID cnsAddress, String serviceName) Installs and starts a Channel Name Server client service on the local Node.Constructors in org.jcsp.net.cns with parameters of type NodeAddressIDModifierConstructorDescriptionCNSService
(NodeAddressID cnsAddress) Constructor which takes an address of the Node hosting the Channel Name Server.CNSService
(NodeAddressID cnsAddress, boolean start) Constructor which takes an address of the Node hosting the Channel Name Server as well as aboolean
indicating whether or not the service should be started.CNSService
(NodeAddressID cnsAddress, String adminChannelLabel) Constructor which takes an address of the Node hosting the Channel Name Server as well as the label of the Channel Name Server's admin channel.CNSService
(NodeAddressID cnsAddress, String adminChannelLabel, boolean start) Constructor which takes an address of the Node hosting the Channel Name Server, the label of the Channel Name Server's admin channel and aboolean
indicating whether the service should be started. -
Uses of NodeAddressID in org.jcsp.net.remote
Constructors in org.jcsp.net.remote with parameters of type NodeAddressIDModifierConstructorDescriptionRemoteProcess
(CSProcess process, NodeAddressID remoteNode) Constructs a new proxy.RemoteProcess
(CSProcess process, NodeAddressID remoteNode, String classPath) Constructs a new proxy.RemoteProcess
(CSProcess process, NodeAddressID remoteNode, NodeFactory factory) Constructs a new proxy.RemoteProcess
(CSProcess process, NodeAddressID remoteNode, NodeFactory factory, String classPath) Constructs a new proxy. -
Uses of NodeAddressID in org.jcsp.net.tcpip
Subclasses of NodeAddressID in org.jcsp.net.tcpipModifier and TypeClassDescriptionclass
Provides a concrete implementation of the abstractNodeAddressID
for use with the TCP/IP link protocol.Fields in org.jcsp.net.tcpip declared as NodeAddressIDModifier and TypeFieldDescriptionprivate final NodeAddressID
TCPIPNodeFactory.cnsServer
Address of the CNS server.Methods in org.jcsp.net.tcpip that return NodeAddressIDModifier and TypeMethodDescriptionprivate NodeAddressID
Split the server string into a server and port component on the : character.private NodeAddressID
Construct the server address, assuming the local host if none is specified.protected NodeAddressID
TCPIPProtocolID.createAddressID
(String stAddressID, boolean uniqueAddress) Creates an address from a string form.static NodeAddressID
TCPIPAddressID.getAddressIDFromString
(String stringForm) Constructs and returns a TCPIPv4 NodeAddressID from a String.Methods in org.jcsp.net.tcpip with parameters of type NodeAddressIDModifier and TypeMethodDescriptionprotected static LinkServer
TCPIPLinkServer.create
(NodeAddressID addressID) Create a server on a specified NodeAddressID, and start it.protected LinkServer
TCPIPProtocolID.startLinkServer
(NodeAddressID addressID) Starts the TCP/IP link server at this node using the given address ID.