Package org.apache.pekko.io
Class Tcp.WriteCommand
java.lang.Object
org.apache.pekko.io.Tcp.WriteCommand
- All Implemented Interfaces:
NoSerializationVerificationNeeded,org.apache.pekko.io.SelectionHandler.HasFailureMessage,Tcp.Command,Tcp.Message
- Direct Known Subclasses:
Tcp.CompoundWrite,Tcp.SimpleWriteCommand
- Enclosing class:
- Tcp
Common interface for all write commands.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPrepends this command with anotherWriteorWriteFileto form aCompoundWrite.$plus$plus$colon(scala.collection.Iterable<Tcp.WriteCommand> writes) Prepends this command with a number of other writes.prepend(Iterable<Tcp.WriteCommand> writes) Java API: prepends this command with a number of other writes.Java API: prepends this command with anotherWriteorWriteFileto form aCompoundWrite.Methods 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
-
WriteCommand
public WriteCommand()
-
-
Method Details
-
$plus$colon
Prepends this command with anotherWriteorWriteFileto form aCompoundWrite. -
$plus$plus$colon
Prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially createdCompoundWrite. -
prepend
Java API: prepends this command with anotherWriteorWriteFileto form aCompoundWrite. -
prepend
Java API: prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially createdCompoundWrite.
-