Class Tcp.Write
Write data to the TCP connection. If no ack is needed use the special
NoAck
object. The connection actor will reply with a Tcp.CommandFailed
message if the write could not be enqueued. If Write.WantsAck
returns true, the connection actor will reply with the supplied Ack
token once the write has been successfully enqueued to the O/S kernel.
Note that this does not in any way guarantee that the data will be
or have been sent! Unfortunately there is no way to determine whether
a particular write has been sent by the O/S.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class Write : Tcp.SimpleWriteCommand, INoSerializationVerificationNeeded
Fields
| Improve this Doc View SourceEmpty
TBD
Declaration
public static readonly Tcp.Write Empty
Field Value
Type | Description |
---|---|
Tcp.Write |
Properties
| Improve this Doc View SourceAck
TBD
Declaration
public override Tcp.Event Ack { get; }
Property Value
Type | Description |
---|---|
Tcp.Event |
Overrides
| Improve this Doc View SourceData
TBD
Declaration
public ByteString Data { get; }
Property Value
Type | Description |
---|---|
ByteString |
Methods
| Improve this Doc View SourceCreate(ByteString)
TBD
Declaration
public static Tcp.Write Create(ByteString data)
Parameters
Type | Name | Description |
---|---|---|
ByteString | data | TBD |
Returns
Type | Description |
---|---|
Tcp.Write | TBD |
Create(ByteString, Tcp.Event)
TBD
Declaration
public static Tcp.Write Create(ByteString data, Tcp.Event ack)
Parameters
Type | Name | Description |
---|---|---|
ByteString | data | TBD |
Tcp.Event | ack | TbD |
Returns
Type | Description |
---|---|
Tcp.Write | TBD |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |