From d226d6047f258867d1ea1854662a7894d1c399bd Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Thu, 2 Dec 2010 12:58:53 +0000 Subject: [PATCH] javadoc --- .../src/net/i2p/data/i2cp/I2CPMessageReader.java | 6 ++++-- .../src/net/i2p/data/i2np/I2NPMessageReader.java | 12 ++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/core/java/src/net/i2p/data/i2cp/I2CPMessageReader.java b/core/java/src/net/i2p/data/i2cp/I2CPMessageReader.java index 461c4b08a4..057892b65f 100644 --- a/core/java/src/net/i2p/data/i2cp/I2CPMessageReader.java +++ b/core/java/src/net/i2p/data/i2cp/I2CPMessageReader.java @@ -60,7 +60,7 @@ public class I2CPMessageReader { /** * Have the already started reader pause its reading indefinitely - * + * @deprecated unused */ public void pauseReading() { _reader.pauseRunner(); @@ -68,7 +68,7 @@ public class I2CPMessageReader { /** * Resume reading after a pause - * + * @deprecated unused */ public void resumeReading() { _reader.resumeRunner(); @@ -123,10 +123,12 @@ public class I2CPMessageReader { _stayAlive = true; } + /** deprecated unused */ public void pauseRunner() { _doRun = false; } + /** deprecated unused */ public void resumeRunner() { _doRun = true; } diff --git a/router/java/src/net/i2p/data/i2np/I2NPMessageReader.java b/router/java/src/net/i2p/data/i2np/I2NPMessageReader.java index 68dabbcc71..fd3e7063bd 100644 --- a/router/java/src/net/i2p/data/i2np/I2NPMessageReader.java +++ b/router/java/src/net/i2p/data/i2np/I2NPMessageReader.java @@ -56,16 +56,19 @@ public class I2NPMessageReader { * */ public void startReading() { _readerThread.start(); } + /** * Have the already started reader pause its reading indefinitely - * + * @deprecated unused */ public void pauseReading() { _reader.pauseRunner(); } + /** * Resume reading after a pause - * + * @deprecated unused */ public void resumeReading() { _reader.resumeRunner(); } + /** * Cancel reading. * @@ -106,8 +109,13 @@ public class I2NPMessageReader { _stayAlive = true; _handler = new I2NPMessageHandler(_context); } + + /** deprecated unused */ public void pauseRunner() { _doRun = false; } + + /** deprecated unused */ public void resumeRunner() { _doRun = true; } + public void cancelRunner() { _doRun = false; _stayAlive = false; -- GitLab