LimeWire Consolidated API

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).


Method Summary
 void handleAccept(Socket socket)
          Notification that a socket is ready.
 
Methods inherited from interface org.limewire.nio.observer.IOErrorObserver
handleIOException
 
Methods inherited from interface org.limewire.nio.observer.Shutdownable
shutdown
 

Method Detail

handleAccept

void handleAccept(Socket socket)
                  throws IOException
Notification that a socket is ready.

Throws:
IOException

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.