Product Documentation

User-Defined Extensions for Replication

Previous Topic

Next Topic

Data Event Details

Add record

The Replication Agent is adding a record to a replicated file on the target server.

VOID rxOnAddRecord(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxDATOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent adds the specified record to the target file.
  • RXA_SKIP - The Replication Agent ignores the add record entry.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

Update record

The Replication Agent is updating a record in a replicated file on the target server.

VOID rxOnUpdateRecord(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxDATOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent updates the specified record in the target file.
  • RXA_SKIP - The Replication Agent ignores the update record entry.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

Delete record

The Replication Agent is deleting a record from a replicated file on the target server.

VOID rxOnDeleteRecord(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxDATOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent deletes the specified record from the target file.
  • RXA_SKIP - The Replication Agent ignores the delete record entry.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

Deferred key

The Replication Agent is processing a deferred key log entry.

VOID rxOnDeferredKey(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxDATOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent processes the deferred key entry.
  • RXA_SKIP - The Replication Agent ignores the deferred key entry.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

TOCIndex