Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/03/09 14:22:14 (15 years ago)
Author:
msteinbi
Message:

Added Interfaces for Execution Engine (#572)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/JobManager.cs

    r1468 r1509  
    229229    }
    230230
    231     public ResponseObject<JobResult> GetLastJobResultOf(Guid jobId) {
     231    public ResponseObject<JobResult> GetLastJobResultOf(Guid jobId, bool requested) {
    232232      ISession session = factory.GetSessionForCurrentThread();
    233233
     
    249249    }
    250250
     251    public Response RequestSnapshot(Guid jobId) {
     252      ISession session = factory.GetSessionForCurrentThread();
     253      Response response = new Response();
     254     
     255      try {
     256       
     257
     258        return response;
     259      }
     260      finally {
     261        if (session != null)
     262          session.EndSession();
     263      }
     264    }
     265
     266    public Response AbortJob(Guid jobId) {
     267      throw new NotImplementedException();
     268    }
     269
    251270    #endregion
    252271  }
Note: See TracChangeset for help on using the changeset viewer.