@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }
@Override protected GrizzlyFuture<Integer> flush0(Buffer buffer, final CompletionHandler<Integer> completionHandler) throws IOException { final FutureImpl<Integer> future = SafeFutureImpl.create(); if (buffer == null) { buffer = Buffers.EMPTY_BUFFER; } connection.write(buffer, new CompletionHandlerAdapter(this, future, completionHandler)); return future; }