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.addressIDsThis is a set of addresses of LinkServers that the Node, represented by this NodeID, is running.private NodeAddressIDNetChannelLocation.channelAddressTheNodeAddressIDon which the channel's Node is listening.private final NodeAddressIDLinkServer.linkServerAddressIDMethods in org.jcsp.net that return NodeAddressIDModifier and TypeMethodDescriptionprotected abstract NodeAddressIDProtocolID.createAddressID(String stAddressID, boolean uniqueAddress) Constructs aNodeAddressIDfrom aString.NodeID.getAddresses()Returns a clone of the set ofNodeAddressIDobjects that thisNodeIDholds.ServiceSettings.getAddresses(String name) Gets the addresses held in a setting of a specified name.protected static NodeAddressIDNodeAddressID.getAddressIDFromString(String stringForm) This is is a static method that should be overriden by concrete implementations of this class.final NodeAddressIDNetChannelLocation.getChannelAddress()Public accessor for the channel's address, if held.protected final NodeAddressIDLinkServer.getLinkServerAddressID()Protected accessor for obtaining theNodeAddressIDon which this server is listening.Methods in org.jcsp.net with parameters of type NodeAddressIDModifier and TypeMethodDescription(package private) voidNodeID.addAddress(NodeAddressID addressID) voidServiceSettings.addAddress(String name, NodeAddressID address) Adds a named address setting.intLinkFactory.ProtocolComparator.compare(NodeAddressID naID1, NodeAddressID naID2) intLinkFactory.ProtocolComparator.compare(NodeAddressID naID, ProtocolID pID) intLinkFactory.ProtocolComparator.compare(ProtocolID pID, NodeAddressID naID) protected static LinkServerLinkServer.create(NodeAddressID addressID) Create a server on a specifiedNodeAddressID, and start it.ProtocolManager.getAddressSpecifications(NodeAddressID addressID) Returns an array ofSpecificationobjects that are held for a specified local address.(package private) ChannelOutputLinkManager.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 theHashTableparameter being supplied asnull.Node.init(NodeAddressID[] localAddresses, Hashtable[] protocolSettings) Initializes the local Node and startsLinkServerlistening on each of the suppliedNodeAddressIDobjects.booleanProtocolManager.installProtocolServer(NodeAddressID addressID, Specification[] specifications) Installs aLinkServerlistening on a specifiedNodeAddressIDand holds the specified set ofSpecificationobjects against the address.(package private) LinkLinkFactory.makeLink(NodeAddressID targetAddress) (package private) voidNodeID.removeAddress(NodeAddressID addressID) protected abstract LinkServerProtocolID.startLinkServer(NodeAddressID addressID) Constructs, starts and returns aLinkServeron a specifiedNodeAddressID.booleanProtocolManager.stopProtocolServer(NodeAddressID addressID) Stops theLinkServerthat is listening on the specified address.abstract LinkLinkFactory.Builder.testAndBuild(NodeAddressID addressID) Takes aNodeAddressIDand constructs and returns aLinkobject.Constructors in org.jcsp.net with parameters of type NodeAddressIDModifierConstructorDescriptionprotectedLinkServer(ProtocolID protocolID, NodeAddressID linkServerAddressID) Constructor.NetChannelLocation(NodeAddressID channelAddress, String channelLabel) Constructor which takes aNodeAddressIDon 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 CNSServiceCNSService.install(NodeKey key, NodeAddressID cnsAddress) Installs and starts a Channel Name Server client service on the local Node.static CNSServiceCNSService.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 abooleanindicating 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 abooleanindicating 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 TypeClassDescriptionclassProvides a concrete implementation of the abstractNodeAddressIDfor use with the TCP/IP link protocol.Fields in org.jcsp.net.tcpip declared as NodeAddressIDModifier and TypeFieldDescriptionprivate final NodeAddressIDTCPIPNodeFactory.cnsServerAddress of the CNS server.Methods in org.jcsp.net.tcpip that return NodeAddressIDModifier and TypeMethodDescriptionprivate NodeAddressIDSplit the server string into a server and port component on the : character.private NodeAddressIDConstruct the server address, assuming the local host if none is specified.protected NodeAddressIDTCPIPProtocolID.createAddressID(String stAddressID, boolean uniqueAddress) Creates an address from a string form.static NodeAddressIDTCPIPAddressID.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 LinkServerTCPIPLinkServer.create(NodeAddressID addressID) Create a server on a specified NodeAddressID, and start it.protected LinkServerTCPIPProtocolID.startLinkServer(NodeAddressID addressID) Starts the TCP/IP link server at this node using the given address ID.