Class EpollIoOps
java.lang.Object
io.netty.channel.epoll.EpollIoOps
- All Implemented Interfaces:
IoOps
Implementation of
IoOps that is used by EpollIoHandler and so for epoll based transports.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EpollIoOpsError condition happened on the associated file descriptor.static final EpollIoOpsstatic final EpollIoOpsInterested in IO events which should be handled by finish pending connect operationsstatic final EpollIoOpsInterested in IO events which tell that the underlying channel is writable again or a connection attempt can be continued.static final EpollIoOpsInterested in IO events which should be handled by reading data. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(EpollIoOps ops) booleaninthashCode()toString()intvalue()Returns the underlying value of theEpollIoOps.static EpollIoOpsvalueOf(int value) Returns aEpollIoOpsfor the given value.with(EpollIoOps ops) Return aEpollIoOpswhich is a combination of the current and the givenEpollIoOps.without(EpollIoOps ops) Return aEpollIoOpswhich is not a combination of the current and the givenEpollIoOps.
-
Field Details
-
EPOLLOUT
Interested in IO events which tell that the underlying channel is writable again or a connection attempt can be continued. -
EPOLLIN
Interested in IO events which should be handled by finish pending connect operations -
EPOLLERR
Error condition happened on the associated file descriptor. -
EPOLLRDHUP
Interested in IO events which should be handled by reading data. -
EPOLLET
-
-
Method Details
-
contains
- Parameters:
ops- the ops.- Returns:
trueif a combination of the given.
-
with
Return aEpollIoOpswhich is a combination of the current and the givenEpollIoOps.- Parameters:
ops- theEpollIoOpsthat should be added to this one.- Returns:
- a
EpollIoOps.
-
without
Return aEpollIoOpswhich is not a combination of the current and the givenEpollIoOps.- Parameters:
ops- theEpollIoOpsthat should be remove from this one.- Returns:
- a
EpollIoOps.
-
value
-
equals
-
hashCode
-
valueOf
Returns aEpollIoOpsfor the given value.- Parameters:
value- the value- Returns:
- the
EpollIoOps.
-
toString
-