/// <summary> /// Powers on all assets and components used in this session. /// </summary> /// <param name="sessionId">The session unique identifier.</param> public void PowerUp(string sessionId, SessionStartSchedule schedule) { SetTraceSessionContext(sessionId); TraceFactory.Logger.Debug("CallProxy -> PowerUp({0}) - Scheduled".FormatWith(sessionId)); CallSessionProxy(sessionId, (c) => c.PowerUp(schedule)); }
/// <summary> /// Signals the dispatcher to power up the session. /// </summary> /// <param name="sessionId">The session Id.</param> /// <param name="schedule">The Startup schedule which defines a delay in starup.</param> public void PowerUp(string sessionId, SessionStartSchedule schedule) { TraceFactory.Logger.Debug("SessionId: {0}".FormatWith(sessionId)); CallDispatcher((c) => c.PowerUp(sessionId, schedule)); }