Package org.apache.pekko.io
Class Tcp.SimpleWriteCommand
- java.lang.Object
-
- org.apache.pekko.io.Tcp.WriteCommand
-
- org.apache.pekko.io.Tcp.SimpleWriteCommand
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded,org.apache.pekko.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.WriteandTcp.WriteFile.
-
-
Constructor Summary
Constructors Constructor Description SimpleWriteCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Tcp.Eventack()The acknowledgment token associated with this write command.Tcp.CompoundWriteappend(Tcp.WriteCommand that)Java API: appends this command with anotherWriteCommandto form aCompoundWrite.booleanwantsAck()-
Methods inherited from class org.apache.pekko.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 org.apache.pekko.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 anotherWriteCommandto form aCompoundWrite.
-
wantsAck
public boolean wantsAck()
-
-