This commit is contained in:
zzz
2011-11-07 14:21:07 +00:00
parent 67cc3ad5b0
commit 8ecf423dfc
5 changed files with 13 additions and 1 deletions

View File

@@ -12,6 +12,9 @@ import java.nio.channels.Selector;
import java.nio.channels.spi.AbstractSelectionKey;
import java.nio.channels.spi.SelectorProvider;
/**
* @since 0.8.11
*/
public class AcceptingChannelImpl extends AcceptingChannel {
boolean _isRegistered = false;
SelectionKey whichKey = null;

View File

@@ -25,6 +25,9 @@ class I2PServerSocketFull implements I2PServerSocket {
return _socketManager.receiveSocket();
}
/**
* @since 0.8.11
*/
public AcceptingChannel getChannel() {
return new AcceptingChannelImpl(_socketManager);
}