|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.io.Tcp.WriteCommand akka.io.Tcp.SimpleWriteCommand
public abstract static class Tcp.SimpleWriteCommand
Common supertype of Tcp.Write
and Tcp.WriteFile
.
Constructor Summary | |
---|---|
Tcp.SimpleWriteCommand()
|
Method Summary | |
---|---|
abstract Tcp.Event |
ack()
The acknowledgment token associated with this write command. |
Tcp.CompoundWrite |
append(Tcp.WriteCommand that)
Java API: appends this command with another WriteCommand 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 class akka.io.Tcp.WriteCommand |
---|
prepend, prepend |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface akka.io.Tcp.Command |
---|
failureMessage |
Constructor Detail |
---|
public Tcp.SimpleWriteCommand()
Method Detail |
---|
public abstract Tcp.Event ack()
public boolean wantsAck()
ack()
token not being a of type Tcp.NoAck
.
public Tcp.CompoundWrite append(Tcp.WriteCommand that)
WriteCommand
to form a CompoundWrite
.
that
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |