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 |
---|---|
NodeKey |
Node.Attributes.getNodeKey() |
NodeKey |
Node.init()
Initializes the Node with the current static
NodeFactory . |
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. |
NodeKey |
Node.init(NodeFactory factory)
Initializes the Node with the specified
object. |
NodeKey |
XMLNodeFactory.initNode(Node node,
Node.Attributes attribs)
This is called by the
Node class. |
NodeKey |
NodeFactory.initNode(Node node,
Node.Attributes attribs) |
Modifier and Type | Method and Description |
---|---|
ProtocolManager |
Node.getProtocolManager(NodeKey nodeKey)
Accessor for obtaining a reference to the local Node's
ProtocolManager object. |
ServiceManager |
Node.getServiceManager(NodeKey nodeKey)
Accessor for obtaining a reference to the local Node's
ServiceManager object. |
boolean |
Node.verifyKey(NodeKey nodeKey)
Verifies that the supplied key matches the local Node's key.
|
Modifier and Type | Method and Description |
---|---|
static CNS |
CNS.install(NodeKey key)
Installs and starts a Channel Name Server on the local Node.
|
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.
|
static CNS |
CNS.install(NodeKey key,
java.lang.String serviceName)
Installs and starts a Channel Name Server on the local Node.
|
Constructor and Description |
---|
CNS(NodeKey nodeKey)
A public constructor which takes a
NodeKey as a parameter which
should be the key for the local Node. |
Constructor and Description |
---|
SpawnerService(NodeKey nodeKey)
Constructs a new service.
|
Modifier and Type | Method and Description |
---|---|
NodeKey |
TCPIPNodeFactory.initNode(Node node,
Node.Attributes attribs)
Initialise the node to listen on all local addresses, and start a CNS service.
|
Copyright © 1996–2024. All rights reserved.