class documentation
class Notification(object):
Constructor: Notification(message_number, state, resource_uri, resource_id)
A Notification from a Channel.
Notifications are not usually constructed directly, but are returned from functions like notification_from_headers().
| Method | __init__ |
Notification constructor. |
| Instance Variable | message |
int, The unique id number of this notification. |
| Instance Variable | resource |
str, The unique identifier of the version of the resource at this event. |
| Instance Variable | resource |
Undocumented |
| Instance Variable | state |
str, The state of the resource being monitored. |
| Instance Variable | uri |
str, The address of the resource being monitored. |
Notification constructor.
| Parameters | |
| message | int, The unique id number of this notification. |
| state | str, The state of the resource being monitored. Can be one of "exists", "not_exists", or "sync". |
| resource | str, The address of the resource being monitored. |
| resource | str, The identifier of the watched resource. |