Answer To: COMP90015: Distributed Systems – Assignment 1 Multi-threaded Dictionary Server (15 marks) Problem...
David answered on Sep 05 2021
Multi Threaded Client Server Dictionary/MultiThreadClient/.classpath
Multi Threaded Client Server Dictionary/MultiThreadClient/.project
MultiThreadClient
org.eclipse.jdt.core.javabuilder
org.eclipse.jdt.core.javanature
Multi Threaded Client Server Dictionary/MultiThreadClient/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
Multi Threaded Client Server Dictionary/MultiThreadClient/bin/Client.class
public synchronized class Client {
static ClientGUI objGUI;
static String errorMessage;
static void ();
public void Client();
public static void main(String[]);
public String add(String, int, String, String);
public String query(String, int, String, String);
public String remove(String, int, String, String);
}
Multi Threaded Client Server Dictionary/MultiThreadClient/bin/ClientGUI$1.class
synchronized class ClientGUI$1 implements Runnable {
void ClientGUI$1();
public void run();
}
Multi Threaded Client Server Dictionary/MultiThreadClient/bin/ClientGUI$2.class
synchronized class ClientGUI$2 implements java.awt.event.ActionListener {
void ClientGUI$2(ClientGUI, javax.swing.JTextArea, javax.swing.JTextArea);
public void actionPerformed(java.awt.event.ActionEvent);
}
Multi Threaded Client Server Dictionary/MultiThreadClient/bin/ClientGUI$3.class
synchronized class ClientGUI$3 implements java.awt.event.ActionListener {
void ClientGUI$3(ClientGUI, javax.swing.JTextArea, javax.swing.JTextArea);
public void actionPerformed(java.awt.event.ActionEvent);
}
Multi Threaded Client Server Dictionary/MultiThreadClient/bin/ClientGUI$4.class
synchronized class ClientGUI$4 implements java.awt.event.ActionListener {
void ClientGUI$4(ClientGUI, javax.swing.JTextArea, javax.swing.JTextArea);
public void actionPerformed(java.awt.event.ActionEvent);
}
Multi Threaded Client Server Dictionary/MultiThreadClient/bin/ClientGUI.class
public synchronized class ClientGUI {
Client objClient;
javax.swing.JFrame clientInterface;
javax.swing.JTextField Word_textField;
static String ip;
static int port;
public void getIP(String);
public void getPort(int);
public static void ClientWindow();
public void ClientGUI();
private void initialize();
}
Multi Threaded Client Server Dictionary/MultiThreadClient/DictionaryClient.jar
META-INF/MANIFEST.MF
Manifest-Version: 1.0
Rsrc-Class-Path: ./ org.json.jar
Class-Path: .
Rsrc-Main-Class: Client
Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader
org/eclipse/jdt/internal/jarinjarloader/JIJConstants.class
package org.eclipse.jdt.internal.jarinjarloader;
final synchronized class JIJConstants {
static final String REDIRECTED_CLASS_PATH_MANIFEST_NAME = Rsrc-Class-Path;
static final String REDIRECTED_MAIN_CLASS_MANIFEST_NAME = Rsrc-Main-Class;
static final String DEFAULT_REDIRECTED_CLASSPATH = ;
static final String MAIN_METHOD_NAME = main;
static final String JAR_INTERNAL_URL_PROTOCOL_WITH_COLON = jar:rsrc:;
static final String JAR_INTERNAL_SEPARATOR = !/;
static final String INTERNAL_URL_PROTOCOL_WITH_COLON = rsrc:;
static final String INTERNAL_URL_PROTOCOL = rsrc;
static final String PATH_SEPARATOR = /;
static final String CURRENT_DIR = ./;
static final String UTF8_ENCODING = UTF-8;
static final String RUNTIME = #runtime;
void JIJConstants();
}
org/eclipse/jdt/internal/jarinjarloader/JarRsrcLoader$ManifestInfo.class
package org.eclipse.jdt.internal.jarinjarloader;
synchronized class JarRsrcLoader$ManifestInfo {
String rsrcMainClass;
String[] rsrcClassPath;
private void JarRsrcLoader$ManifestInfo();
}
org/eclipse/jdt/internal/jarinjarloader/JarRsrcLoader.class
package org.eclipse.jdt.internal.jarinjarloader;
public synchronized class JarRsrcLoader {
public void JarRsrcLoader();
public static void main(String[]) throws ClassNotFoundException, IllegalArgumentException, IllegalAccessException, reflect.InvocationTargetException, SecurityException, NoSuchMethodException, java.io.IOException;
private static ClassLoader getParentClassLoader() throws reflect.InvocationTargetException, IllegalAccessException;
private static JarRsrcLoader$ManifestInfo getManifestInfo() throws java.io.IOException;
private static String[] splitSpaces(String);
}
org/eclipse/jdt/internal/jarinjarloader/RsrcURLConnection.class
package org.eclipse.jdt.internal.jarinjarloader;
public synchronized class RsrcURLConnection extends java.net.URLConnection {
private ClassLoader classLoader;
public void RsrcURLConnection(java.net.URL, ClassLoader);
public void connect() throws java.io.IOException;
public java.io.InputStream getInputStream() throws java.io.IOException;
}
org/eclipse/jdt/internal/jarinjarloader/RsrcURLStreamHandler.class
package org.eclipse.jdt.internal.jarinjarloader;
public synchronized class RsrcURLStreamHandler extends java.net.URLStreamHandler {
private ClassLoader classLoader;
public void RsrcURLStreamHandler(ClassLoader);
protected java.net.URLConnection openConnection(java.net.URL) throws java.io.IOException;
protected void parseURL(java.net.URL, String, int, int);
}
org/eclipse/jdt/internal/jarinjarloader/RsrcURLStreamHandlerFactory.class
package org.eclipse.jdt.internal.jarinjarloader;
public synchronized class RsrcURLStreamHandlerFactory implements java.net.URLStreamHandlerFactory {
private ClassLoader classLoader;
private java.net.URLStreamHandlerFactory chainFac;
public void RsrcURLStreamHandlerFactory(ClassLoader);
public java.net.URLStreamHandler createURLStreamHandler(String);
public void setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory);
}
ClientGUI$1.class
synchronized class ClientGUI$1 implements Runnable {
void ClientGUI$1();
public void run();
}
ClientGUI$2.class
synchronized class ClientGUI$2 implements java.awt.event.ActionListener {
void ClientGUI$2(ClientGUI, javax.swing.JTextArea, javax.swing.JTextArea);
public void actionPerformed(java.awt.event.ActionEvent);
}
ClientGUI$3.class
synchronized class ClientGUI$3 implements java.awt.event.ActionListener {
void ClientGUI$3(ClientGUI, javax.swing.JTextArea, javax.swing.JTextArea);
public void actionPerformed(java.awt.event.ActionEvent);
}
ClientGUI$4.class
synchronized class ClientGUI$4 implements java.awt.event.ActionListener {
void ClientGUI$4(ClientGUI, javax.swing.JTextArea, javax.swing.JTextArea);
public void actionPerformed(java.awt.event.ActionEvent);
}
ClientGUI.class
public synchronized class ClientGUI {
Client objClient;
javax.swing.JFrame clientInterface;
javax.swing.JTextField Word_textField;
static String ip;
static int port;
public void getIP(String);
public void getPort(int);
public static void ClientWindow();
public void ClientGUI();
private void initialize();
}
Client.class
public synchronized class Client {
static ClientGUI objGUI;
static String errorMessage;
static void ();
public void Client();
public static void main(String[]);
public String add(String, int, String, String);
public String query(String, int, String, String);
public String remove(String, int, String, String);
}
org.json.jar
org/json/CDL.class
package org.json;
public synchronized class CDL {
public void CDL();
private static String getValue(JSONTokener) throws JSONException;
public static JSONArray rowToJSONArray(JSONTokener) throws JSONException;
public static JSONObject rowToJSONObject(JSONArray, JSONTokener) throws JSONException;
public static JSONArray toJSONArray(String) throws JSONException;
public static JSONArray toJSONArray(JSONTokener) throws JSONException;
public static JSONArray toJSONArray(JSONArray, String) throws JSONException;
public static JSONArray toJSONArray(JSONArray, JSONTokener) throws JSONException;
public static String rowToString(JSONArray);
public static String toString(JSONArray) throws JSONException;
public static String toString(JSONArray, JSONArray) throws JSONException;
}
Multi Threaded Client Server Dictionary/MultiThreadClient/lib/org.json.jar
org/json/CDL.class
package org.json;
public synchronized class CDL {
public void CDL();
private static String getValue(JSONTokener) throws JSONException;
public static JSONArray rowToJSONArray(JSONTokener) throws JSONException;
public static JSONObject rowToJSONObject(JSONArray, JSONTokener) throws JSONException;
public static JSONArray toJSONArray(String) throws JSONException;
public static JSONArray toJSONArray(JSONTokener) throws JSONException;
public static JSONArray toJSONArray(JSONArray, String) throws JSONException;
public static JSONArray toJSONArray(JSONArray, JSONTokener) throws JSONException;
public static String rowToString(JSONArray);
public static String toString(JSONArray) throws JSONException;
public static String toString(JSONArray, JSONArray) throws JSONException;
}
Multi Threaded Client Server Dictionary/MultiThreadClient/src/Client.java
Multi Threaded Client Server...