Platform interfaces

Interfaces for implementing platform provider.

class Platform

Platform main interface.

configure(context, props=None)

Creates a task for configuring this platform with the given properties.

Parameters:
  • context (PlatformTaskContext) – Current platform task context.
  • props – Dictionary with the configuration properties.
class PlatformTaskContext

Execution context of a platform task.

message(msg)

Sends a message to the engine event queue.

Parameters:msg – Message to be sent.
cancel_check()

Check if caller engine task was cancelled.

Raises storm.engine.EngineTaskCancelled:
 If it was already cancelled.