Class LinkServer
java.lang.Object
org.jcsp.net2.LinkServer
- All Implemented Interfaces:
CSProcess
- Direct Known Subclasses:
TCPIPLinkServer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanregisterLink(Link link) protected final LinkrequestLink(NodeID nodeID) static final voidstart(NodeAddress address)
-
Constructor Details
-
LinkServer
public LinkServer()
-
-
Method Details
-
start
public static final void start(NodeAddress address) throws IllegalArgumentException, JCSPNetworkException - Parameters:
address-- Throws:
IllegalArgumentExceptionJCSPNetworkException
-
requestLink
-
registerLink
- Parameters:
link-- Returns:
- True if the Link to the Node was successfully registered, false otherwise
-