Lean
$LEAN_TAG$
|
Provides a container for the system level handlers More...
Public Member Functions | |
LeanEngineSystemHandlers (IJobQueueHandler jobQueue, IApi api, IMessagingHandler notify, ILeanManager leanManager) | |
Initializes a new instance of the LeanEngineSystemHandlers class with the specified handles More... | |
void | Initialize () |
Initializes the Api, Messaging, and JobQueue components More... | |
void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Static Public Member Functions | |
static LeanEngineSystemHandlers | FromConfiguration (Composer composer) |
Creates a new instance of the LeanEngineSystemHandlers class from the specified composer using type names from configuration More... | |
Properties | |
IApi | Api [get] |
Gets the api instance used for communicating algorithm limits, status, and storing of log data More... | |
IMessagingHandler | Notify [get] |
Gets the messaging handler instance used for communicating various packets to listeners, including debug/log messages, email/sms/web messages, as well as results and run time errors More... | |
IJobQueueHandler | JobQueue [get] |
Gets the job queue responsible for acquiring and acknowledging an algorithm job More... | |
ILeanManager | LeanManager [get] |
Gets the ILeanManager implementation using to enhance the hosting environment More... | |
Provides a container for the system level handlers
Definition at line 30 of file LeanEngineSystemHandlers.cs.
QuantConnect.Lean.Engine.LeanEngineSystemHandlers.LeanEngineSystemHandlers | ( | IJobQueueHandler | jobQueue, |
IApi | api, | ||
IMessagingHandler | notify, | ||
ILeanManager | leanManager | ||
) |
Initializes a new instance of the LeanEngineSystemHandlers class with the specified handles
jobQueue | The job queue used to acquire algorithm jobs |
api | The api instance used for communicating limits and status |
notify | The messaging handler user for passing messages from the algorithm to listeners |
leanManager |
Definition at line 77 of file LeanEngineSystemHandlers.cs.
|
static |
Creates a new instance of the LeanEngineSystemHandlers class from the specified composer using type names from configuration
composer | The composer instance to obtain implementations from |
CompositionException | Throws a CompositionException during failure to load |
Definition at line 107 of file LeanEngineSystemHandlers.cs.
void QuantConnect.Lean.Engine.LeanEngineSystemHandlers.Initialize | ( | ) |
Initializes the Api, Messaging, and JobQueue components
Definition at line 119 of file LeanEngineSystemHandlers.cs.
void QuantConnect.Lean.Engine.LeanEngineSystemHandlers.Dispose | ( | ) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
<filterpriority>2</filterpriority>
Definition at line 129 of file LeanEngineSystemHandlers.cs.
|
get |
Gets the api instance used for communicating algorithm limits, status, and storing of log data
Definition at line 41 of file LeanEngineSystemHandlers.cs.
|
get |
Gets the messaging handler instance used for communicating various packets to listeners, including debug/log messages, email/sms/web messages, as well as results and run time errors
Definition at line 50 of file LeanEngineSystemHandlers.cs.
|
get |
Gets the job queue responsible for acquiring and acknowledging an algorithm job
Definition at line 58 of file LeanEngineSystemHandlers.cs.
|
get |
Gets the ILeanManager implementation using to enhance the hosting environment
Definition at line 66 of file LeanEngineSystemHandlers.cs.