2.6.
CLASS: EVENT
CHAPTER 2.
API REFERENCE
2.6
Class: event
2.6.1
Fields for class: event
Name
event
Description
Asynchronous event registration and handling.
Quals
Field
Type
Description
RO
ins
id
int
An ID, monotonically increasing, and
local to the current session
RO
ins
timestamp
datetime
The time at which the event occurred
RO
ins
class
string
The name of the class of the object
that changed
RO
ins
operation
event operation
The operation that was performed
RO
ins
ref
string
A reference to the object that
changed
RO
ins
obj uuid
string
The uuid of the object that changed
2.6.2
RPCs associated with class: event
RPC name: register
Overview:
Registers this session with the event system. Specifying the empty list will register for all classes.
Signature:
void register (session_id s, string Set classes)
Arguments:
type
name
description
string Set
classes
register for events for the indicated classes
Return Type:
void
RPC name: unregister
Overview:
Unregisters this session with the event system.
Signature:
void unregister (session_id s, string Set classes)
Arguments:
type
name
description
string Set
classes
remove this session’s registration for the indi-
cated classes
Return Type:
void
35