Class Server
java.lang.Object
lt.viko.eif.jguscia.Server
Simple TCP server responsible for sending XML data to a connected client.
<p>
The server reads an XML file from application resources and sends it
to the first client that connects to the configured port.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstart()Starts the server and waits for a client connection.
-
Constructor Details
-
Server
public Server()
-
-
Method Details
-
start
public void start()Starts the server and waits for a client connection.<p>Once a client connects, the server readsdata.xmlfrom resources, sends it to the client, and then terminates.
-