Class 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.
    Author:
    Kevin Chalmers
    See Also:
    Node, NodeFactory
    • Constructor Detail

      • 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 Detail

      • 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