Class Server

java.lang.Object
lt.viko.eif.jguscia.Server

public class Server extends Object
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 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 reads data.xml from resources, sends it to the client, and then terminates.