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
public final class TCPIPNodeFactory
- extends NodeFactory
Used to initialise a Node. This is kept for backward compatibility. See Node for more information.
- Author:
- Kevin Chalmers
- See Also:
Node
,
NodeFactory
Method Summary |
protected NodeAddress |
initNode(Node node)
Deprecated. Initialises the Node, connecting to the CNS / BNS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPIPNodeFactory
public TCPIPNodeFactory(TCPIPNodeAddress addr)
- Deprecated.
- Creates a new TCPIPNodeFactory
- Parameters:
addr
- The address of the CNS / BNS
TCPIPNodeFactory
public TCPIPNodeFactory(String serverIP)
- Deprecated.
- Creates a new TCPIPNodeFactory
- Parameters:
serverIP
- The IP address of the CNS / BNS
initNode
protected NodeAddress initNode(Node node)
throws JCSPNetworkException
- Deprecated.
- Initialises the Node, connecting to the CNS / BNS
- Specified by:
initNode
in class NodeFactory
- 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
Copyright © 1996-2012. All Rights Reserved.