Raritan PX2/PX3 JSON-RPC API
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
event::Consumer Interface Reference

Consumer interface is for event consumers that want to be called back in case new events have occured. More...

import"EventService.idl";

Public Member Functions

void pushEvents (in vector< idl.Event > events)
 This method is called by EventService to notify Consumer about new events. More...
 

Detailed Description

Consumer interface is for event consumers that want to be called back in case new events have occured.

Subscription with this interface happens in Channel interface. Note that this interface cannot be used over transports that do not support callbacks.

Member Function Documentation

void event::Consumer::pushEvents ( in vector< idl.Event events)

This method is called by EventService to notify Consumer about new events.

Consumer is not supposed to block this function but return immidiately. Policy of how often and with how many events this method is called is up to the EventService Implementation.


The documentation for this interface was generated from the following file: