Package Integrator :: Module Spiff_Integrator :: Class Api

Class Api



object --+
         |
        Api

Contains command functions that are made available to all packages.

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
emit(self, uri, args=None)
Send an asynchronous signal on the event bus.
 
emit_sync(self, uri, args=None)
Send a synchronous signal on the event bus.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

emit(self, uri, args=None)

 
Send an asynchronous signal on the event bus.
Parameters:
  • uri (string) - A unique identifier (name) for the signal.
  • args (object) - Passed on to subscribers of the signal.

emit_sync(self, uri, args=None)

 
Send a synchronous signal on the event bus.
Parameters:
  • uri (string) - A unique identifier (name) for the signal.
  • args (object) - Passed on to subscribers of the signal.