Rivendell Notification Protocol

Fred Gleason


Table of Contents

Overview
Object Types
Carts
Logs

Overview

This defines the IP protocol used to notify Rivendell components of changes to the state of database objects. Messages are send by means of multicast UDP packets to port 20539.

The format of a message is as follows:

NOTIFY obj-type action id

obj-type

The object type to which the message pertains.

action

The action being reported. The following actions are defined:

ADD

The referenced object has just been added to the database.

DELETE

The referenced object has just been deleted from the database.

MODIFY

The reference object has just been modified in the database.

id

Unique id of the object.

Object Types

The following object types are defined:

Carts

CART

Table 1. Cart Fields

FieldValue
obj-typeCART
idCart number
typeUnsigned Integer

Logs

LOG

Table 2. Log Fields

FieldValue
obj-typeLOG
idLog name
typeString