Commit ab0e7ff2 authored by Florian Fittkau's avatar Florian Fittkau

...

parent 0dc5f44d
......@@ -290,6 +290,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -313,6 +314,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -335,6 +337,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -355,6 +358,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
}
......@@ -372,6 +376,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -395,6 +400,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -417,6 +423,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -440,6 +447,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -463,6 +471,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -486,6 +495,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -509,6 +519,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -531,6 +542,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -553,6 +565,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -576,6 +589,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -599,6 +613,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -621,6 +636,7 @@ class TCPReaderOneClient implements Runnable {
} catch (final IdNotAvailableException e) {
// should not happen
e.printStackTrace();
forcefullyDisconnect();
}
break;
} else {
......@@ -965,4 +981,12 @@ class TCPReaderOneClient implements Runnable {
}
}
private final void forcefullyDisconnect() {
System.out.println("Forcefully disconnecting...");
try {
socketChannel.close();
} catch (final IOException e) {
e.printStackTrace();
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment