public interface IoRegistration
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the registration.
|
io.netty.util.concurrent.Future<?> |
cancelFuture()
Returns a
Future that is notified once this IoRegistration was cancelled. |
IoHandler |
ioHandler()
The
IoHandler to which this IoRegistration belongs too. |
default boolean |
isValid()
Returns
true if the registration is still valid. |
long |
submit(IoOps ops)
Submit the
IoOps to the registration. |
long submit(IoOps ops) throws Exception
IoOps to the registration.ops - ops.Exceptiondefault boolean isValid()
IoHandler ioHandler()
IoHandler to which this IoRegistration belongs too.io.netty.util.concurrent.Future<?> cancelFuture()
Future that is notified once this IoRegistration was cancelled.Copyright © 2008–2025 The Netty Project. All rights reserved.