/// <summary> /// Called by the client to keep the session fresh /// </summary> /// <param name="session"></param> /// <returns></returns> Types.Session INativeSession.FreshenSession(Types.Session session) { LastFreshen = DateTime.Now; if (LogServiceCalls) { DebugLog.Message("Freshened session: " + session.Id + ", process: " + Process.GetCurrentProcess().Id); } return(session); }
/// <summary> /// Dispose of the session and schedule the process for termination /// </summary> /// <param name="session"></param> /// <returns></returns> bool INativeSession.DisposeSession(Types.Session session) { DisposeSession(); return(true); }