|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Writable<L>
Implementations of this interface are able to write data from a Buffer.
Grizzly Connection extends Writable.
| Method Summary | ||
|---|---|---|
|
write(L dstAddress,
M message,
CompletionHandler<WriteResult<M,L>> completionHandler,
PushBackHandler pushbackHandler)
Method writes the buffer to the specific address. |
|
|
write(M message)
Method writes the buffer. |
|
|
write(M message,
CompletionHandler<WriteResult<M,L>> completionHandler)
Method writes the buffer. |
|
|
write(M message,
CompletionHandler<WriteResult<M,L>> completionHandler,
PushBackHandler pushbackHandler)
Method writes the buffer. |
|
| Method Detail |
|---|
<M> GrizzlyFuture<WriteResult<M,L>> write(M message)
message - the buffer, from which the data will be written
Future, using which it's possible to check the
result
<M> void write(M message,
CompletionHandler<WriteResult<M,L>> completionHandler)
message - the buffer, from which the data will be writtencompletionHandler - CompletionHandler,
which will get notified, when write will be completed
<M> void write(M message,
CompletionHandler<WriteResult<M,L>> completionHandler,
PushBackHandler pushbackHandler)
message - the buffer, from which the data will be writtencompletionHandler - CompletionHandler,
which will get notified, when write will be completedpushbackHandler - PushBackHandler, which will be notified
if message was accepted by transport write queue or refused
<M> void write(L dstAddress,
M message,
CompletionHandler<WriteResult<M,L>> completionHandler,
PushBackHandler pushbackHandler)
dstAddress - the destination address the buffer will be
sent tomessage - the buffer, from which the data will be writtencompletionHandler - CompletionHandler,
which will get notified, when write will be completedpushbackHandler - PushBackHandler, which will be notified
if message was accepted by transport write queue or refused
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||