org.eclipse.jetty.io
Interface AsyncEndPoint

All Superinterfaces:
EndPoint
All Known Implementing Classes:
SelectChannelEndPoint, SslSelectChannelEndPoint

public interface AsyncEndPoint
extends EndPoint


Method Summary
 boolean dispatch()
          Dispatch the endpoint to a thread to attend to it.
 boolean isReadyForDispatch()
           
 
Methods inherited from interface org.eclipse.jetty.io.EndPoint
blockReadable, blockWritable, close, fill, flush, flush, flush, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isBufferingInput, isBufferingOutput, isBufferred, isOpen
 

Method Detail

dispatch

boolean dispatch()
Dispatch the endpoint to a thread to attend to it.

Returns:
True If the dispatched succeeded

isReadyForDispatch

boolean isReadyForDispatch()
Returns:
true if this endpoint can accept a dispatch. False if the endpoint cannot accept a dispatched (eg is suspended or already dispatched)


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.