コード例 #1
0
        private object StartPreviewAsPull(HttpContextBase context)
        {
            var data = GetPostData(context);

            RemoteContentPuller.GetOperation(data.operationId).RunPreviewAsFullOperation();
            return(true);
        }
コード例 #2
0
        private object GetOperationStatus(HttpContextBase context)
        {
            var data = GetPostData(context);

            return(((IEnumerable <object>)RemoteContentPuller.OperationStatus(data.operationId, (int)data.lineNumber)).ToList());
        }
コード例 #3
0
 private object GetOperationList(HttpContextBase context)
 {
     return(RemoteContentPuller.GetRunningOperations().ToList());
 }
コード例 #4
0
        private object StopOperation(HttpContextBase context)
        {
            var data = GetPostData(context);

            return(RemoteContentPuller.StopOperation(data.operationId));
        }
コード例 #5
0
        private object OperationQueueLength(HttpContextBase context)
        {
            var data = GetPostData(context);

            return(RemoteContentPuller.GetOperation(data.operationId).QueuedItems());
        }