Package net.i2p.client.streaming
Class AcceptingChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
net.i2p.client.streaming.AcceptingChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,InterruptibleChannel
public abstract class AcceptingChannel extends SelectableChannel
As this does not (yet) extend ServerSocketChannel it cannot be returned by StandardServerSocket.getChannel(),
until we implement an I2P SocketAddress class.
Warning, this interface and implementation is preliminary and subject to change without notice.
Unimplemented, unlikely to ever be implemented.
- Since:
- 0.8.11
-
Field Summary
Fields Modifier and Type Field Description protected I2PSocketManager
_socketManager
-
Constructor Summary
Constructors Modifier Constructor Description protected
AcceptingChannel(I2PSocketManager manager)
-
Method Summary
Methods inherited from class java.nio.channels.SelectableChannel
blockingLock, configureBlocking, isBlocking, isRegistered, keyFor, provider, register, register, validOps
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, implCloseChannel, isOpen
-
Field Details
-
Constructor Details
-
Method Details
-
accept
- Throws:
I2PException
ConnectException
-