示例#1
0
文件: WmKcmBroker.cs 项目: tmbx/kwm
 /// <summary>
 /// Substitute for the constructor to allow KCM to be created
 /// appropriately by the WM.
 /// </summary>
 public void Initialize(WorkspaceManager wm, KasCommunicationManager kcm)
 {
     m_wm = wm;
     m_kcm = kcm;
 }
示例#2
0
 public WmStateMachine(WorkspaceManager wm)
 {
     m_wm = wm;
     m_wkb = new WmKcmBroker();
     m_kcm = new KasCommunicationManager(m_wkb, HandleKcmCompletion);
     m_wkb.Initialize(m_wm, m_kcm);
     m_wakeupTimer.TimerWakeUpCallback = HandleTimerWakeUp;
     m_lastSerializationDate = DateTime.Now;
 }