|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Writable<L>
Implementatios of this interface are able to write data from a Buffer.
Grizzly Connection extends Writable.
| Method Summary | |
|---|---|
Future<WriteResult<Buffer,L>> |
write(Buffer buffer)
Method writes the buffer. |
Future<WriteResult<Buffer,L>> |
write(Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer. |
Future<WriteResult<Buffer,L>> |
write(L dstAddress,
Buffer buffer)
Method writes the buffer to the specific address. |
Future<WriteResult<Buffer,L>> |
write(L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
Method writes the buffer to the specific address. |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
Future<WriteResult<Buffer,L>> write(Buffer buffer)
throws IOException
buffer - the buffer, from which the data will be written
Future, using which it's possible to check the
result
IOException
Future<WriteResult<Buffer,L>> write(Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
throws IOException
buffer - the buffer, from which the data will be writtencompletionHandler - CompletionHandler,
which will get notified, when write will be completed
Future, using which it's possible to check the
result
IOException
Future<WriteResult<Buffer,L>> write(L dstAddress,
Buffer buffer)
throws IOException
dstAddress - the destination address the buffer will be
sent tobuffer - the buffer, from which the data will be written
Future, using which it's possible to check the
result
IOException
Future<WriteResult<Buffer,L>> write(L dstAddress,
Buffer buffer,
CompletionHandler<WriteResult<Buffer,L>> completionHandler)
throws IOException
dstAddress - the destination address the buffer will be
sent tobuffer - the buffer, from which the data will be writtencompletionHandler - CompletionHandler,
which will get notified, when write will be completed
Future, using which it's possible to check the
result
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||