org.limewire.nio.observer
Interface AcceptObserver
- All Superinterfaces:
- IOErrorObserver, Shutdownable
public interface AcceptObserver
- extends IOErrorObserver
Defines the interface that allows accept events to be received. An observer
watches a subject and performs the acceptance of a socket when the subject
is ready (signaled via an accept event).
handleAccept
void handleAccept(Socket socket)
throws IOException
- Notification that a socket is ready.
- Throws:
IOException
Copyright © 2009. All Rights Reserved.