Exemplo n.º 1
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n0 = bbuf.getLength();

            // create array
            WFTimeLimit[] arr = new EloixClient.IndexServer.WFTimeLimit[n0];
            bin.onObjectCreated(arr);

            // read
            for (int i0 = 0; i0 < n0; i0++)
            {
                arr[i0] = (EloixClient.IndexServer.WFTimeLimit)bin.readObj(false, null);
            }

            return(arr);
        }
Exemplo n.º 2
0
 public StartAdHocWorkflowInfo(bool @forValidation, bool @serialFlow, String @cancelUserId, String @cancelMessage, String @finishedUserId, String @finishedMessage, String @finishedScript, String @nodeName, String @workflowRepeatMessage, String @breakWorkflowMessage, String[] @userIdsToDeactivate, bool @deactivateNodes, String @acceptMessage, String @noticeMessage, String @actionRejectMessage, String @successMessage, EloixClient.IndexServer.WFTimeLimit @timeLimit, EloixClient.IndexServer.WFTimeLimit[] @timeLimitEscalations, int @flags, IList <EloixClient.IndexServer.ValueClass> @nodeInfos)
 {
     this.forValidationValue         = @forValidation;
     this.serialFlowValue            = @serialFlow;
     this.cancelUserIdValue          = @cancelUserId;
     this.cancelMessageValue         = @cancelMessage;
     this.finishedUserIdValue        = @finishedUserId;
     this.finishedMessageValue       = @finishedMessage;
     this.finishedScriptValue        = @finishedScript;
     this.nodeNameValue              = @nodeName;
     this.workflowRepeatMessageValue = @workflowRepeatMessage;
     this.breakWorkflowMessageValue  = @breakWorkflowMessage;
     this.userIdsToDeactivateValue   = @userIdsToDeactivate;
     this.deactivateNodesValue       = @deactivateNodes;
     this.acceptMessageValue         = @acceptMessage;
     this.noticeMessageValue         = @noticeMessage;
     this.actionRejectMessageValue   = @actionRejectMessage;
     this.successMessageValue        = @successMessage;
     this.timeLimitValue             = @timeLimit;
     this.timeLimitEscalationsValue  = @timeLimitEscalations;
     this.flagsValue     = @flags;
     this.nodeInfosValue = @nodeInfos;
 }