Package org.jcsp.net2

Class LinkServer

  • All Implemented Interfaces:
    CSProcess
    Direct Known Subclasses:
    TCPIPLinkServer

    public abstract class LinkServer
    extends java.lang.Object
    implements CSProcess
    Abstract class defining the LinkServer.
    • Constructor Detail

      • LinkServer

        public LinkServer()
    • Method Detail

      • requestLink

        protected final Link requestLink​(NodeID nodeID)
        Parameters:
        nodeID -
        Returns:
        The Link connected to the Node with the corresponding NodeID, or null if no such Node exists
      • registerLink

        protected final boolean registerLink​(Link link)
        Parameters:
        link -
        Returns:
        True if the Link to the Node was successfully registered, false otherwise