|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.AbstractWriter<L>
public abstract class AbstractWriter<L>
Abstract class, which provides transitive dependencies for overloaded
Writer methods.
| Constructor Summary | |
|---|---|
AbstractWriter()
|
|
| Method Summary | |
|---|---|
GrizzlyFuture<WriteResult<WritableMessage,L>> |
write(Connection connection,
L dstAddress,
WritableMessage message)
Method writes the WritableMessage to the specific address. |
void |
write(Connection connection,
L dstAddress,
WritableMessage message,
CompletionHandler<WriteResult<WritableMessage,L>> completionHandler)
Method writes the WritableMessage to the specific address. |
GrizzlyFuture<WriteResult<WritableMessage,L>> |
write(Connection connection,
WritableMessage message)
Method writes the WritableMessage. |
void |
write(Connection connection,
WritableMessage message,
CompletionHandler<WriteResult<WritableMessage,L>> completionHandler)
Method writes the WritableMessage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glassfish.grizzly.Writer |
|---|
write |
| Constructor Detail |
|---|
public AbstractWriter()
| Method Detail |
|---|
public final GrizzlyFuture<WriteResult<WritableMessage,L>> write(Connection connection,
WritableMessage message)
WritableMessage.
write in interface Writer<L>connection - the Connection to write tomessage - the WritableMessage, from which the data will be written
Future, using which it's possible to check the
result
public final void write(Connection connection,
WritableMessage message,
CompletionHandler<WriteResult<WritableMessage,L>> completionHandler)
WritableMessage.
write in interface Writer<L>connection - the Connection to write tomessage - the WritableMessage, from which the data will be writtencompletionHandler - CompletionHandler,
which will get notified, when write will be completed
public final GrizzlyFuture<WriteResult<WritableMessage,L>> write(Connection connection,
L dstAddress,
WritableMessage message)
WritableMessage to the specific address.
write in interface Writer<L>connection - the Connection to write todstAddress - the destination address the WritableMessage will be
sent tomessage - the WritableMessage, from which the data will be written
Future, using which it's possible to check the
result
public final void write(Connection connection,
L dstAddress,
WritableMessage message,
CompletionHandler<WriteResult<WritableMessage,L>> completionHandler)
WritableMessage to the specific address.
write in interface Writer<L>connection - the Connection to write todstAddress - the destination address the WritableMessage will be
sent tomessage - the WritableMessage, from which the data will be writtencompletionHandler - CompletionHandler,
which will get notified, when write will be completed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||