View Source XenAPI.Event (XenAPI v0.2.0)
Link to this section Summary
Functions
Blocking call which returns a new token and a (possibly empty) batch of events. The returned token can be used in subsequent calls to this function.
Blocking call which returns a new token and a (possibly empty) batch of events. The returned token can be used in subsequent calls to this function. (Raise error on XMLRPC failure)
Return the ID of the next event to be generated by the system
Return the ID of the next event to be generated by the system (Raise error on XMLRPC failure)
Injects an artificial event on the given object and returns the corresponding ID in the form of a token, which can be used as a point of reference for database events. For example, to check whether an object has reached the right state before attempting an operation, one can inject an artificial event on the object and wait until the token returned by consecutive event.from calls is lexicographically greater than the one returned by event.inject.
Injects an artificial event on the given object and returns the corresponding ID in the form of a token, which can be used as a point of reference for database events. For example, to check whether an object has reached the right state before attempting an operation, one can inject an artificial event on the object and wait until the token returned by consecutive event.from calls is lexicographically greater than the one returned by event.inject. (Raise error on XMLRPC failure)
Blocking call which returns a (possibly empty) batch of events. This method is only recommended for legacy use. New development should use event.from which supercedes this method.
Blocking call which returns a (possibly empty) batch of events. This method is only recommended for legacy use. New development should use event.from which supercedes this method. (Raise error on XMLRPC failure)
Registers this session with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next.
Registers this session with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next. (Raise error on XMLRPC failure)
Removes this session's registration with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next.
Removes this session's registration with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next. (Raise error on XMLRPC failure)
Link to this section Functions
Blocking call which returns a new token and a (possibly empty) batch of events. The returned token can be used in subsequent calls to this function.
Blocking call which returns a new token and a (possibly empty) batch of events. The returned token can be used in subsequent calls to this function. (Raise error on XMLRPC failure)
Return the ID of the next event to be generated by the system
Return the ID of the next event to be generated by the system (Raise error on XMLRPC failure)
Injects an artificial event on the given object and returns the corresponding ID in the form of a token, which can be used as a point of reference for database events. For example, to check whether an object has reached the right state before attempting an operation, one can inject an artificial event on the object and wait until the token returned by consecutive event.from calls is lexicographically greater than the one returned by event.inject.
Injects an artificial event on the given object and returns the corresponding ID in the form of a token, which can be used as a point of reference for database events. For example, to check whether an object has reached the right state before attempting an operation, one can inject an artificial event on the object and wait until the token returned by consecutive event.from calls is lexicographically greater than the one returned by event.inject. (Raise error on XMLRPC failure)
Blocking call which returns a (possibly empty) batch of events. This method is only recommended for legacy use. New development should use event.from which supercedes this method.
Blocking call which returns a (possibly empty) batch of events. This method is only recommended for legacy use. New development should use event.from which supercedes this method. (Raise error on XMLRPC failure)
Registers this session with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next.
Registers this session with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next. (Raise error on XMLRPC failure)
Removes this session's registration with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next.
Removes this session's registration with the event system for a set of given classes. This method is only recommended for legacy use in conjunction with event.next. (Raise error on XMLRPC failure)