Beispiel #1
0
 /// <summary>
 /// Submit a query to the broker specified. The command array must
 /// contain at least one command, the last of which being the command
 /// having an associated result. A session will be created to handle
 /// the commands. The callback function specified will be called when
 /// the results are available.
 /// </summary>
 public void Submit(WmKmodBroker broker, K3pCmd[] inCmdArray, KmodQueryDelegate callback)
 {
     Debug.Assert(inCmdArray.Length > 0);
     InCmdArray   = inCmdArray;
     InCmdWithRes = InCmdArray[InCmdArray.Length - 1];
     Callback     = callback;
     base.Submit(broker);
 }
Beispiel #2
0
 public KmodThreadNotif(WmKmodBroker broker, KmodThreadCommand command)
 {
     m_broker  = broker;
     m_command = command;
 }
Beispiel #3
0
 public KmodThread(WmKmodBroker broker)
     : base()
 {
     m_broker = broker;
 }
Beispiel #4
0
 public KmodBrokerWakeUpMsg(WmKmodBroker broker)
 {
     Broker = broker;
 }
Beispiel #5
0
 /// <summary>
 /// Submit the transaction to the KMOD broker specified. The Run()
 /// method will be called when the broker is ready to execute the
 /// transaction. The broker guarantees that the transaction will be
 /// executed in the context of the UI and outside the current
 /// execution context. In other words, the Run() method will not be
 /// called before Submit() has returned.
 /// </summary>
 public void Submit(WmKmodBroker broker)
 {
     broker.SubmitTransaction(this);
 }