|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcsp.net2.LinkServer
org.jcsp.net2.tcpip.TCPIPLinkServer
public final class TCPIPLinkServer
Concrete implementation of a LinkServer that listens on a TCP/IP based ServerSocket. For information on LinkServer, see the relevant documentation.
It is possible for an advanced user to create this object themselves, although it is not recommended. For example:
TCPIPLinkServer serv = new TCPIPLinkServer(address);
new ProcessManager(serv).start();
This is done automatically during Node initialisation. However, if the machine used has multiple interfaces, this can be used to listen on another interface also.
LinkServer| Constructor Summary | |
|---|---|
TCPIPLinkServer(TCPIPNodeAddress address)
Creates a new TCPIPLinkServer listening on the given address |
|
| Method Summary | |
|---|---|
void |
run()
The run method for the TCPIPLinkServer process |
| Methods inherited from class org.jcsp.net2.LinkServer |
|---|
registerLink, requestLink, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TCPIPLinkServer(TCPIPNodeAddress address)
throws JCSPNetworkException
address - The address to listen on for new connections
JCSPNetworkException - Thrown if something goes wrong during the creation of the ServerSocket| Method Detail |
|---|
public void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||