public static enum PollFD.PollEvent extends Enum<PollFD.PollEvent>
| Enum Constant and Description |
|---|
POLLERR
FD has errored, This is ignored in input events and only returned in output events.
|
POLLHUP
FD's Stream socket peer has closed his reading connection
|
POLLIN
FD can be read from
|
POLLMSG
unused in Linux
|
POLLNVAL
The FD is invalid.
|
POLLOUT
FD can be written to
|
POLLPRI
FD has urgent data to be read (TCP urgent data for example)
|
POLLRDBAND
same as POLLPRI
|
POLLRDHUP
FD's Stream socket peer has closed his writing connection.
|
POLLRDNORM
same as POLLIN
|
POLLREMOVE
Special.
|
POLLWRBAND
FD is ready for writing urgent data (TCP urgent data for example)
|
POLLWRNORM
same as POLLOUT
|
| Modifier and Type | Method and Description |
|---|---|
static PollFD.PollEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollFD.PollEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollFD.PollEvent POLLIN
public static final PollFD.PollEvent POLLPRI
public static final PollFD.PollEvent POLLOUT
public static final PollFD.PollEvent POLLRDNORM
public static final PollFD.PollEvent POLLRDBAND
public static final PollFD.PollEvent POLLWRNORM
public static final PollFD.PollEvent POLLWRBAND
public static final PollFD.PollEvent POLLMSG
public static final PollFD.PollEvent POLLREMOVE
public static final PollFD.PollEvent POLLRDHUP
public static final PollFD.PollEvent POLLERR
public static final PollFD.PollEvent POLLHUP
public static final PollFD.PollEvent POLLNVAL
public static PollFD.PollEvent[] values()
for (PollFD.PollEvent c : PollFD.PollEvent.values()) System.out.println(c);
public static PollFD.PollEvent valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.