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.WritePath
- Enclosing class:
- Tcp
Common supertype of
Tcp.Write and WriteFile.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Tcp.Eventack()The acknowledgment token associated with this write command.append(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, prependMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.io.Tcp.Command
failureMessage
-
Constructor Details
-
SimpleWriteCommand
public SimpleWriteCommand()
-
-
Method Details
-
ack
The acknowledgment token associated with this write command. -
append
Java API: appends this command with anotherWriteCommandto form aCompoundWrite. -
wantsAck
public boolean wantsAck()
-