Class TCPIPNodeFactory

java.lang.Object
org.jcsp.net2.NodeFactory
org.jcsp.net2.tcpip.TCPIPNodeFactory

public final class TCPIPNodeFactory extends NodeFactory
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:
  • Constructor Details

    • 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
  • Method Details

    • 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