
The following options should be offered to a user: oop.jar ie.gmit.sw.Client, where oop.jar is the name of the JAR archive containing the full set of classes (client and server) for the project. The client application should present a command-line user interface when started from a terminal window as follows: java -cp.The module is taught to undergraduate students at GMIT in the Department of Computer Science and Applied Physics. This repository contains code and information for a third-year undergraduate project for the module Object Orientated Programming. Object Orientated Programming Project 2016 More options such as client upload to server.API:ĪPI routes are available for a number of currencies to get there you will need to navagate to /api/currencyName.


If not successful the server will inform the client and return another menu. If the file is found the server will begin a transfer of bytes to the client. The client will prompt for a filename and once provided will attempt to find this file on the server. If a connection is made the client sends a ListFileRequest to the server. If successful a message is returned notifying and the client can perform other operations. Once parsed the client attempts to connect to the host via sockets. The client parses a number of settings from the XML file using XMLParser. On the sidemenu are a number of quick link to different sections of the app aswell as buttons on the dashboard.

Upon loading the client you will be prompted with a menu of options: We then need to start the client Start the client Will use default port 7777 and path/to/my/files oop.jar ie/gmit/sw/server/ServerRunner path/to/my/files oop.jar ie/gmit/sw/server/ServerRunner 8888 If you only provide 1 parameter the server will attempt to use this and use a default value for the other. You do not need to specify a port number or a file path.Įnsure if you are providing parameters to enter them in the following format: oop.jar ie/gmit/sw/server/ServerRunner 7777 path/to/my/files To run the web app, navagate to the directory that contains the oop.jar file and enter the commands: Start the server Robust - Works with 1 parameter, no parameter or 2

FeaturesīlockingQueue - Multiple producer / One consumer A java implementation of a multi-threaded file server and logging application that allows a client application to download files using a set of options presented in a terminal user interface.
