AMPS C# Client
5.3.3.4
AMPS C# Client for .NET
|
An interface for receiving information on messages that you've written, but for which the server indicates are not persisted because of a failure. More...
Public Member Functions | |
void | failedWrite (ulong sequenceNumber, Message.Commands operation, byte[] topic, long topicOffset, long topicLength, byte[] data, long dataOffset, long dataLength, byte[] correlationId, long correlationIdOffset, long correlationIdLength, Message.Reasons reason) |
The AMPS instance reports that a write has failed. More... | |
An interface for receiving information on messages that you've written, but for which the server indicates are not persisted because of a failure.
void AMPS.Client.FailedWriteHandlerV4.failedWrite | ( | ulong | sequenceNumber, |
Message.Commands | operation, | ||
byte[] | topic, | ||
long | topicOffset, | ||
long | topicLength, | ||
byte[] | data, | ||
long | dataOffset, | ||
long | dataLength, | ||
byte[] | correlationId, | ||
long | correlationIdOffset, | ||
long | correlationIdLength, | ||
Message.Reasons | reason | ||
) |
The AMPS instance reports that a write has failed.
sequenceNumber | The sequence number of the message that could not be written. |
operation | A value from Message.Commands (Publish, DeltaPublish, or SOWDelete). |
topic | The topic of the message. |
topicOffset | The index in topic where the topic bytes begin. |
topicLength | The length of the topic, in bytes. |
data | The data of the message. |
dataOffset | The index in data where the data bytes begin. |
dataLength | The length of the data, in bytes. |
correlationId | The correlation ID for this message. |
correlationIdOffset | The offset into the correlation ID array where the correlation ID begins. |
correlationIdLength | The length of the correlation ID. |
reason | A value from Message.Reasons indicating the reason for this failed write. |