Package org.apache.hadoop.net.unix
Interface DomainSocketWatcher.Handler
- Enclosing class:
- DomainSocketWatcher
public static interface DomainSocketWatcher.Handler
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhandle(DomainSocket sock) Handles an event on a socket.
-
Method Details
-
handle
Handles an event on a socket. An event may be the socket becoming readable, or the remote end being closed.- Parameters:
sock- The socket that the event occurred on.- Returns:
- Whether we should close the socket.
-