Package akka.io
Class Tcp.SimpleWriteCommand
- java.lang.Object
-
- akka.io.Tcp.WriteCommand
-
- akka.io.Tcp.SimpleWriteCommand
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
,akka.io.SelectionHandler.HasFailureMessage
,Tcp.Command
,Tcp.Message
- Direct Known Subclasses:
Tcp.Write
,Tcp.WriteFile
,Tcp.WritePath
- Enclosing class:
- Tcp
public abstract static class Tcp.SimpleWriteCommand extends Tcp.WriteCommand
Common supertype ofTcp.Write
andTcp.WriteFile
.
-
-
Constructor Summary
Constructors Constructor Description SimpleWriteCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Tcp.Event
ack()
The acknowledgment token associated with this write command.Tcp.CompoundWrite
append(Tcp.WriteCommand that)
Java API: appends this command with anotherWriteCommand
to form aCompoundWrite
.boolean
wantsAck()
-
Methods inherited from class akka.io.Tcp.WriteCommand
$plus$colon, $plus$plus$colon, 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
-
-
-
-
Method Detail
-
ack
public abstract Tcp.Event ack()
The acknowledgment token associated with this write command.
-
append
public Tcp.CompoundWrite append(Tcp.WriteCommand that)
Java API: appends this command with anotherWriteCommand
to form aCompoundWrite
.
-
wantsAck
public boolean wantsAck()
-
-