Lean
$LEAN_TAG$
|
Messaging System Plugin Interface. Provides a common messaging pattern between desktop and cloud implementations of QuantConnect. More...
Public Member Functions | |
void | Initialize (MessagingHandlerInitializeParameters initializeParameters) |
Initialize the Messaging System Plugin. More... | |
void | SetAuthentication (AlgorithmNodePacket job) |
Set the user communication channel More... | |
void | Send (Packet packet) |
Send any message with a base type of Packet. More... | |
void | SendNotification (Notification notification) |
Send any notification with a base type of Notification. More... | |
Properties | |
bool | HasSubscribers [get, set] |
Gets or sets whether this messaging handler has any current subscribers. When set to false, messages won't be sent. More... | |
Messaging System Plugin Interface. Provides a common messaging pattern between desktop and cloud implementations of QuantConnect.
Definition at line 29 of file IMessagingHandler.cs.
void QuantConnect.Interfaces.IMessagingHandler.Initialize | ( | MessagingHandlerInitializeParameters | initializeParameters | ) |
Initialize the Messaging System Plugin.
initializeParameters | The parameters required for initialization |
Implemented in QuantConnect.Messaging.StreamingMessageHandler, QuantConnect.Messaging.EventMessagingHandler, and QuantConnect.Messaging.Messaging.
void QuantConnect.Interfaces.IMessagingHandler.SetAuthentication | ( | AlgorithmNodePacket | job | ) |
Set the user communication channel
job | The job packet |
Implemented in QuantConnect.Messaging.EventMessagingHandler, QuantConnect.Messaging.StreamingMessageHandler, and QuantConnect.Messaging.Messaging.
void QuantConnect.Interfaces.IMessagingHandler.Send | ( | Packet | packet | ) |
Send any message with a base type of Packet.
packet | Packet of data to send via the messaging system plugin |
Implemented in QuantConnect.Messaging.EventMessagingHandler, QuantConnect.Messaging.StreamingMessageHandler, and QuantConnect.Messaging.Messaging.
void QuantConnect.Interfaces.IMessagingHandler.SendNotification | ( | Notification | notification | ) |
Send any notification with a base type of Notification.
notification | The notification to be sent. |
Implemented in QuantConnect.Messaging.EventMessagingHandler, QuantConnect.Messaging.Messaging, and QuantConnect.Messaging.StreamingMessageHandler.
|
getset |
Gets or sets whether this messaging handler has any current subscribers. When set to false, messages won't be sent.
Definition at line 35 of file IMessagingHandler.cs.