Uses of Class
org.jcsp.net.NodeAddressID
-
Packages that use NodeAddressID 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.remote Supports the remote spawning of processes at other nodes.org.jcsp.net.tcpip -
-
Uses of NodeAddressID in org.jcsp.net
Fields in org.jcsp.net declared as NodeAddressID Modifier and Type Field Description private 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 NodeAddressID
LinkServer. linkServerAddressID
Methods in org.jcsp.net that return NodeAddressID Modifier and Type Method Description protected abstract NodeAddressID
ProtocolID. createAddressID(java.lang.String stAddressID, boolean uniqueAddress)
Constructs aNodeAddressID
from aString
.NodeAddressID[]
NodeID. getAddresses()
Returns a clone of the set ofNodeAddressID
objects that thisNodeID
holds.NodeAddressID[]
ServiceSettings. getAddresses(java.lang.String name)
Gets the addresses held in a setting of a specified name.protected static NodeAddressID
NodeAddressID. getAddressIDFromString(java.lang.String stringForm)
This is is a static method that should be overriden by concrete implementations of this class.NodeAddressID
NetChannelLocation. getChannelAddress()
Public accessor for the channel's address, if held.protected NodeAddressID
LinkServer. getLinkServerAddressID()
Protected accessor for obtaining theNodeAddressID
on which this server is listening.Methods in org.jcsp.net with parameters of type NodeAddressID Modifier and Type Method Description (package private) void
NodeID. addAddress(NodeAddressID addressID)
void
ServiceSettings. addAddress(java.lang.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.Specification[]
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.NodeKey
Node. init(NodeAddressID localAddress)
This method functions the same as callinginit(NodeAddressID[])
with a single element in the array.NodeKey
Node. init(NodeAddressID[] localAddresses)
This method is functionally equivalent to callinginit(NodeAddressID[], HashTable)
with theHashTable
parameter being supplied asnull
.NodeKey
Node. init(NodeAddressID[] localAddresses, java.util.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 NodeAddressID Constructor Description LinkServer(ProtocolID protocolID, NodeAddressID linkServerAddressID)
Constructor.NetChannelLocation(NodeAddressID channelAddress, java.lang.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).NodeID(NodeUI nodeUI, NodeAddressID[] addressIDs, DomainID domainID)
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 NodeAddressID Modifier and Type Method Description static 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, java.lang.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 NodeAddressID Constructor Description CNSService(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, java.lang.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, java.lang.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 NodeAddressID Constructor Description RemoteProcess(CSProcess process, NodeAddressID remoteNode)
Constructs a new proxy.RemoteProcess(CSProcess process, NodeAddressID remoteNode, java.lang.String classPath)
Constructs a new proxy.RemoteProcess(CSProcess process, NodeAddressID remoteNode, NodeFactory factory)
Constructs a new proxy.RemoteProcess(CSProcess process, NodeAddressID remoteNode, NodeFactory factory, java.lang.String classPath)
Constructs a new proxy. -
Uses of NodeAddressID in org.jcsp.net.tcpip
Subclasses of NodeAddressID in org.jcsp.net.tcpip Modifier and Type Class Description class
TCPIPAddressID
Provides a concrete implementation of the abstractNodeAddressID
for use with the TCP/IP link protocol.Fields in org.jcsp.net.tcpip declared as NodeAddressID Modifier and Type Field Description private NodeAddressID
TCPIPNodeFactory. cnsServer
Address of the CNS server.Methods in org.jcsp.net.tcpip that return NodeAddressID Modifier and Type Method Description private NodeAddressID
TCPIPNodeFactory. construct(java.lang.String cnsServer)
Split the server string into a server and port component on the : character.private NodeAddressID
TCPIPNodeFactory. construct(java.lang.String cnsServerAddress, int cnsServerPort)
Construct the server address, assuming the local host if none is specified.protected NodeAddressID
TCPIPProtocolID. createAddressID(java.lang.String stAddressID, boolean uniqueAddress)
Creates an address from a string form.static NodeAddressID
TCPIPAddressID. getAddressIDFromString(java.lang.String stringForm)
Constructs and returns a TCPIPv4 NodeAddressID from a String.Methods in org.jcsp.net.tcpip with parameters of type NodeAddressID Modifier and Type Method Description protected 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.
-