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 |
Modifier and Type | Method and Description |
---|---|
protected abstract NodeAddressID |
ProtocolID.createAddressID(java.lang.String stAddressID,
boolean uniqueAddress)
Constructs a
NodeAddressID from a String . |
NodeAddressID[] |
NodeID.getAddresses()
Returns a clone of the set of
NodeAddressID objects that
this NodeID 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 the
NodeAddressID on which
this server is listening. |
Modifier and Type | Method and Description |
---|---|
void |
ServiceSettings.addAddress(java.lang.String name,
NodeAddressID address)
Adds a named address setting.
|
protected static LinkServer |
LinkServer.create(NodeAddressID addressID)
Create a server on a specifiedNodeAddressID, and start it.
|
org.jcsp.net.Specification[] |
ProtocolManager.getAddressSpecifications(NodeAddressID addressID)
Returns an array of
Specification objects that are held for
a specified local address. |
NodeKey |
Node.init(NodeAddressID localAddress)
This method functions the same as calling
init(NodeAddressID[]) with a single element in the
array. |
NodeKey |
Node.init(NodeAddressID[] localAddresses)
This method is functionally equivalent to calling
init(NodeAddressID[], HashTable) with the HashTable
parameter being supplied as null . |
NodeKey |
Node.init(NodeAddressID[] localAddresses,
java.util.Hashtable[] protocolSettings)
Initializes the local Node and starts
LinkServer listening
on each of the supplied NodeAddressID objects. |
boolean |
ProtocolManager.installProtocolServer(NodeAddressID addressID,
org.jcsp.net.Specification[] specifications)
Installs a
LinkServer listening on a specified
NodeAddressID and holds the specified set of
Specification objects against the address. |
protected abstract LinkServer |
ProtocolID.startLinkServer(NodeAddressID addressID)
Constructs, starts and returns a
LinkServer on a
specified NodeAddressID . |
boolean |
ProtocolManager.stopProtocolServer(NodeAddressID addressID)
Stops the
LinkServer that is listening on the specified address. |
abstract Link |
LinkFactory.Builder.testAndBuild(NodeAddressID addressID)
Takes a
NodeAddressID and constructs and returns
a Link object. |
Constructor and Description |
---|
LinkServer(ProtocolID protocolID,
NodeAddressID linkServerAddressID)
Constructor.
|
NetChannelLocation(NodeAddressID channelAddress,
java.lang.String channelLabel)
Constructor which takes a
NodeAddressID on which the
channel's Node is listening and the label assigned to the channel's
Virtual Channel Number (VCN). |
Modifier and Type | Method and 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.
|
Constructor and 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 a
boolean
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 a
boolean indicating
whether the service should be started. |
Constructor and Description |
---|
RemoteProcess(CSProcess process,
NodeAddressID remoteNode)
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.
|
RemoteProcess(CSProcess process,
NodeAddressID remoteNode,
java.lang.String classPath)
Constructs a new proxy.
|
Modifier and Type | Class and Description |
---|---|
class |
TCPIPAddressID
Provides a concrete implementation of the abstract
NodeAddressID for use with the
TCP/IP link protocol. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected LinkServer |
TCPIPProtocolID.startLinkServer(NodeAddressID addressID)
Starts the TCP/IP link server at this node using the given address ID.
|
Copyright © 1996–2019. All rights reserved.