diff options
author | Christoph Schulthess | 2017-03-27 17:52:41 +0200 |
---|---|---|
committer | Christoph Schulthess | 2017-03-27 17:52:41 +0200 |
commit | edc52ba5eb4bfde7af3f15674e63e18ba141b09d (patch) | |
tree | e883c9ba523c0b63a445fcbaeeeaab954dab278b | |
parent | new relay task (diff) | |
download | tmlite-bwlp-edc52ba5eb4bfde7af3f15674e63e18ba141b09d.tar.gz tmlite-bwlp-edc52ba5eb4bfde7af3f15674e63e18ba141b09d.tar.xz tmlite-bwlp-edc52ba5eb4bfde7af3f15674e63e18ba141b09d.zip |
new relay task
-rw-r--r-- | src/main/java/org/openslx/taskmanager/tasks/DirectedRelay.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/DirectedRelay.java b/src/main/java/org/openslx/taskmanager/tasks/DirectedRelay.java index fffd707..7bf470d 100644 --- a/src/main/java/org/openslx/taskmanager/tasks/DirectedRelay.java +++ b/src/main/java/org/openslx/taskmanager/tasks/DirectedRelay.java @@ -77,7 +77,7 @@ public class DirectedRelay extends AbstractTask return ctx; } - private boolean relay( SSLSocket dbgSock, SSLSocket poolSock ) { + private void relay( SSLSocket dbgSock, SSLSocket poolSock ) { Relay toDbg = new Relay( poolSock, dbgSock, status ); Relay toPool = new Relay( dbgSock, poolSock, status ); toDbg.setName( "PoolToDebug" ); @@ -91,8 +91,6 @@ public class DirectedRelay extends AbstractTask } catch ( InterruptedException ix ) { status.addMessage( "INFO: Relay closed: " + Thread.currentThread().getName() ); } - - return true; } protected SSLContext trustAll () throws Exception |