private object StartPreviewAsPull(HttpContextBase context) { var data = GetPostData(context); RemoteContentPuller.GetOperation(data.operationId).RunPreviewAsFullOperation(); return(true); }
private object GetOperationStatus(HttpContextBase context) { var data = GetPostData(context); return(((IEnumerable <object>)RemoteContentPuller.OperationStatus(data.operationId, (int)data.lineNumber)).ToList()); }
private object GetOperationList(HttpContextBase context) { return(RemoteContentPuller.GetRunningOperations().ToList()); }
private object StopOperation(HttpContextBase context) { var data = GetPostData(context); return(RemoteContentPuller.StopOperation(data.operationId)); }
private object OperationQueueLength(HttpContextBase context) { var data = GetPostData(context); return(RemoteContentPuller.GetOperation(data.operationId).QueuedItems()); }