Exemplo n.º 1
0
        private object StartPreviewAsPull(HttpContextBase context)
        {
            var data = GetPostData(context);

            RemoteContentPuller.GetOperation(data.operationId).RunPreviewAsFullOperation();
            return(true);
        }
Exemplo n.º 2
0
        private object GetOperationStatus(HttpContextBase context)
        {
            var data = GetPostData(context);

            return(((IEnumerable <object>)RemoteContentPuller.OperationStatus(data.operationId, (int)data.lineNumber)).ToList());
        }
Exemplo n.º 3
0
 private object GetOperationList(HttpContextBase context)
 {
     return(RemoteContentPuller.GetRunningOperations().ToList());
 }
Exemplo n.º 4
0
        private object StopOperation(HttpContextBase context)
        {
            var data = GetPostData(context);

            return(RemoteContentPuller.StopOperation(data.operationId));
        }
Exemplo n.º 5
0
        private object OperationQueueLength(HttpContextBase context)
        {
            var data = GetPostData(context);

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