summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/imagemaster/serverconnection/Connection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/openslx/imagemaster/serverconnection/Connection.java')
-rw-r--r--src/main/java/org/openslx/imagemaster/serverconnection/Connection.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/main/java/org/openslx/imagemaster/serverconnection/Connection.java b/src/main/java/org/openslx/imagemaster/serverconnection/Connection.java
deleted file mode 100644
index bfdb1bb..0000000
--- a/src/main/java/org/openslx/imagemaster/serverconnection/Connection.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package org.openslx.imagemaster.serverconnection;
-
-/**
- * This represents a connection.
- * (When a satellite is up- or downloading an image from/to masterserver).
- * It is used to help the ConnectionHandler and is storing infos.
- */
-public class Connection
-{
- /**
- * Where the file is stored locally.
- */
- protected final String filepath;
-
- /**
- * Type of this connection.
- * True if uploading, false if downloading
- */
- protected final boolean type;
- public UploadingImage image = null;
- public DownloadingClient client = null;
- public final static boolean UPLOADING = true;
- public final static boolean DOWNLOADING = false;
-
- /**
- * Create a new connection data
- * @param filepath Where the file is stored locally
- * @param type True if uploading, false if downloading
- * @param listenerThread The active listener thread that listens for incoming connections
- */
- protected Connection(String filepath, boolean type)
- {
- this.filepath = filepath;
- this.type = type;
- }
-}