Package org.jcsp.net2.tcpip
Class TCPIPNodeFactory
java.lang.Object
org.jcsp.net2.NodeFactory
org.jcsp.net2.tcpip.TCPIPNodeFactory
Deprecated.
This method of Node initialisation should no longer be used. See Node for more information
Used to initialise a Node. This is kept for backward compatibility. See Node for more information.
- See Also:
-
Field Summary
Fields inherited from class org.jcsp.net2.NodeFactory
cnsAddress
-
Constructor Summary
ConstructorsConstructorDescriptionTCPIPNodeFactory
(String serverIP) Deprecated.Creates a new TCPIPNodeFactoryDeprecated.Creates a new TCPIPNodeFactory -
Method Summary
Modifier and TypeMethodDescriptionprotected NodeAddress
Deprecated.Initialises the Node, connecting to the CNS / BNS
-
Constructor Details
-
TCPIPNodeFactory
Deprecated.Creates a new TCPIPNodeFactory- Parameters:
addr
- The address of the CNS / BNS
-
TCPIPNodeFactory
Deprecated.Creates a new TCPIPNodeFactory- Parameters:
serverIP
- The IP address of the CNS / BNS
-
-
Method Details
-
initNode
Deprecated.Initialises the Node, connecting to the CNS / BNS- Specified by:
initNode
in classNodeFactory
- Parameters:
node
- The Node to initialise- Returns:
- A new NodeAddress which the Node is registered at
- Throws:
JCSPNetworkException
- Thrown if something goes wrong during the Node initialisation process
-