* Lower max netdb RI expiration again

* Increase default max tunnels
  * Cleanups after review
  * Exorcism (ticket #476)
This commit is contained in:
zzz
2011-10-10 19:22:03 +00:00
parent c884cfe6f6
commit f39e201067
12 changed files with 28 additions and 12 deletions

View File

@ -68,6 +68,9 @@ class I2PSocketFull implements I2PSocket {
return null;
}
/**
* @since 0.8.9
*/
public SelectableChannel getChannel() {
return new MessageChannel(this);
}

View File

@ -14,6 +14,9 @@ import java.nio.channels.spi.SelectorProvider;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* @since 0.8.9
*/
public class MessageChannel extends SelectableChannel implements ReadableByteChannel, WritableByteChannel {
final MessageInputStream in;
@ -181,4 +184,4 @@ public class MessageChannel extends SelectableChannel implements ReadableByteCha
}
}
}
}
}