예제 #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;
 }