final commit

main
Brett 2023-11-19 21:28:10 -05:00
parent a3e7245b82
commit 1ae46bcb38
19 changed files with 14 additions and 9 deletions

BIN
Assignment 2.odt Normal file

Binary file not shown.

View File

@ -9,8 +9,8 @@
<version>0.69.420</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -19,7 +19,7 @@ public class Client {
private final Socket serverConnection;
private final DataOutputStream out;
private final DataInputStream in;
private OTelUtils.SexyContainer ot = OTelUtils.create("CumClient"); // Computational Unit Machine Client
private OTelUtils.SexyContainer ot = OTelUtils.create("Client"); // Computational Unit Machine Client
private final Tracer tracer;
private final Scope sc;
private final Span s;
@ -45,6 +45,11 @@ public class Client {
ot.tp.forceFlush();
ot.bp.forceFlush();
ot.ox.flush();
// try {
// Thread.sleep((long)(Math.random() * 10));
// } catch (InterruptedException e) {
// throw new RuntimeException(e);
// }
return this;
}

View File

@ -24,7 +24,7 @@ public class Server {
public static volatile boolean running = true;
private static final OTelUtils.SexyContainer ot = OTelUtils.create("CumServer");
private static final OTelUtils.SexyContainer ot = OTelUtils.create("Server");
public Server() {
Tracer main = ot.ot.getTracer("Main Server", "0.69");

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
shared/ExceptionLogger.class
shared/OTelUtils$SexyContainer.class
shared/FileUtil.class
server/Server.class
server/Connection.class
shared/ArrayData.class
server/Server.class
server/ChunkedCompressedChecksumFileReader.class
shared/ArrayData.class
client/ChunkedCompressedChecksumFileWriter.class
shared/FileUtil$InvalidUsageException.class
shared/OTelUtils.class

View File

@ -2,9 +2,9 @@
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/server/FileHeader.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/client/ChunkedCompressedChecksumFileWriter.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/server/ChunkedCompressedChecksumFileReader.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/shared/ArrayData.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/server/Server.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/server/Connection.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/shared/OTelUtils.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/server/Server.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/shared/ArrayData.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/shared/ExceptionLogger.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/shared/OTelUtils.java
/home/brett/Documents/Brock/CS 3P95/Assignments/Assignment 2 Java/src/main/java/shared/FileUtil.java