# Rivendell Notification Protocol

Fred
Gleason
fredg@paravelsystems.com

## 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`

#### Cart Fields

Field | Value
obj-type | CART
id | Cart number
type | Unsigned Integer

### Logs

`LOG`

#### Log Fields

Field | Value
obj-type | LOG
id | Log name
type | String