org.glassfish.grizzly
Interface Closeable<E extends Closeable>

All Known Subinterfaces:
Connection<L>
All Known Implementing Classes:
NIOConnection, TCPNIOConnection, TCPNIOServerConnection, UDPNIOConnection, UDPNIOServerConnection

public interface Closeable<E extends Closeable>

General asynchronous closable interface.

Author:
Alexey Stashok

Method Summary
 GrizzlyFuture<E> close()
           
 GrizzlyFuture<E> close(CompletionHandler<E> completionHandler)
           
 

Method Detail

close

GrizzlyFuture<E> close()
                                         throws java.io.IOException
Throws:
java.io.IOException

close

GrizzlyFuture<E> close(CompletionHandler<E> completionHandler)
                                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.