public interface PollfdListener
Modifier and Type | Method and Description |
---|---|
void |
pollfdAdded(FileDescriptor fd,
int events,
Object userData)
Callback function, invoked when a new file descriptor should be added to
the set of file descriptors monitored for events.
|
void |
pollfdRemoved(FileDescriptor fd,
Object userData)
Callback function, invoked when a file descriptor should be removed from
the set of file descriptors being monitored for events.
|
void pollfdAdded(FileDescriptor fd, int events, Object userData)
fd
- the new file descriptor.events
- events to monitor for.userData
- User data pointer.void pollfdRemoved(FileDescriptor fd, Object userData)
fd
- The file descriptor to stop monitoring.userData
- User data pointer.Copyright © 2011–2018 usb4java Team. All rights reserved.