Class Tcp.WriteCommand
All write commands inherit from this class.
Inheritance
Tcp.WriteCommand
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public abstract class Tcp.WriteCommand : Tcp.Command, INoSerializationVerificationNeeded
Properties
| Edit this page View SourceBytes
The number of bytes that will be written to the socket.
Declaration
public abstract long Bytes { get; }
Property Value
| Type | Description |
|---|---|
| long |
Methods
| Edit this page View SourceCreate(params WriteCommand[])
Declaration
public static Tcp.WriteCommand Create(params Tcp.WriteCommand[] writes)
Parameters
| Type | Name | Description |
|---|---|---|
| WriteCommand[] | writes |
Returns
| Type | Description |
|---|---|
| Tcp.WriteCommand |
Create(IEnumerable<WriteCommand>)
Declaration
public static Tcp.WriteCommand Create(IEnumerable<Tcp.WriteCommand> writes)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Tcp.WriteCommand> | writes |
Returns
| Type | Description |
|---|---|
| Tcp.WriteCommand |
Prepend(SimpleWriteCommand)
Prepend another write before this one.
Declaration
public Tcp.CompoundWrite Prepend(Tcp.SimpleWriteCommand other)
Parameters
| Type | Name | Description |
|---|---|---|
| Tcp.SimpleWriteCommand | other | The other write to prepend |
Returns
| Type | Description |
|---|---|
| Tcp.CompoundWrite | A compound write consisting of multiple byte buffers of non-contiguous memory |
Prepend(IEnumerable<WriteCommand>)
Prepend a group of writes before this one.
Declaration
public Tcp.WriteCommand Prepend(IEnumerable<Tcp.WriteCommand> writes)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Tcp.WriteCommand> | writes | The set of writes that will preceed this one. |
Returns
| Type | Description |
|---|---|
| Tcp.WriteCommand | A compound write consisting of multiple byte buffers of non-contiguous memory |
Edit this page