AMPS C# Client  5.3.3.4
AMPS C# Client for .NET
AMPS.Client.FailedWriteHandlerV4 Interface Reference

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...
 

Detailed Description

An interface for receiving information on messages that you've written, but for which the server indicates are not persisted because of a failure.

Member Function Documentation

◆ failedWrite()

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.

Parameters
sequenceNumberThe sequence number of the message that could not be written.
operationA value from Message.Commands (Publish, DeltaPublish, or SOWDelete).
topicThe topic of the message.
topicOffsetThe index in topic where the topic bytes begin.
topicLengthThe length of the topic, in bytes.
dataThe data of the message.
dataOffsetThe index in data where the data bytes begin.
dataLengthThe length of the data, in bytes.
correlationIdThe correlation ID for this message.
correlationIdOffsetThe offset into the correlation ID array where the correlation ID begins.
correlationIdLengthThe length of the correlation ID.
reasonA value from Message.Reasons indicating the reason for this failed write.

The documentation for this interface was generated from the following file: