org.restlet.engine.io
Interface CompletionListener

All Known Implementing Classes:
ClientInboundWay, ClientOutboundWay, HttpClientInboundWay, HttpClientOutboundWay, HttpServerInboundWay, HttpServerOutboundWay, InboundWay, OutboundWay, ReadableBufferedChannel, ReadableChunkedChannel, ReadableSizedSelectionChannel, ServerInboundWay, ServerOutboundWay, Way

public interface CompletionListener

Listener called back upon IO completion.

Author:
Jerome Louvel

Method Summary
 void onMessageCompleted(boolean eofDetected)
          Callback invoked upon IO completion.
 

Method Detail

onMessageCompleted

void onMessageCompleted(boolean eofDetected)
                        throws IOException
Callback invoked upon IO completion.

Parameters:
eofDetected - Indicates if the end of network connection was detected.
Throws:
IOException


Copyright © 2005-2013 Restlet.