|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Tcp.WriteCommand
Common interface for all write commands, currently Tcp.Write
, Tcp.WriteFile
and Tcp.CompoundWrite
.
Method Summary | |
---|---|
Tcp.Event |
ack()
The acknowledgment token associated with this write command. |
Tcp.WriteCommand |
prepend(java.lang.Iterable<Tcp.WriteCommand> writes)
Java API: prepends this command with a number of other writes. |
Tcp.CompoundWrite |
prepend(Tcp.SimpleWriteCommand that)
Java API: prepends this command with another Write or WriteFile to form
a CompoundWrite . |
boolean |
wantsAck()
An acknowledgment is only sent if this write command “wants an ack”, which is equivalent to the ack() token not being a of type Tcp.NoAck . |
Methods inherited from interface akka.io.Tcp.Command |
---|
failureMessage |
Method Detail |
---|
Tcp.Event ack()
boolean wantsAck()
ack()
token not being a of type Tcp.NoAck
.
Tcp.CompoundWrite prepend(Tcp.SimpleWriteCommand that)
Write
or WriteFile
to form
a CompoundWrite
.
Tcp.WriteCommand prepend(java.lang.Iterable<Tcp.WriteCommand> writes)
CompoundWrite
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |