Пример #1
0
 public ReportInfoUserProps(EloixClient.IndexServer.UserInfo @userInfo, EloixClient.IndexServer.UserInfo @userInfoEff, IList <EloixClient.IndexServer.SubsInfo> @subsInfos, IDictionary <int, String> @idsToNames)
 {
     this.userInfoValue    = @userInfo;
     this.userInfoEffValue = @userInfoEff;
     this.subsInfosValue   = @subsInfos;
     this.idsToNamesValue  = @idsToNames;
 }
Пример #2
0
 public LicenseCounter(EloixClient.IndexServer.UserInfo @userInfo, Dictionary <int, int> @accessMap, int @sumAccess, bool @disabled, int @countType)
 {
     this.userInfoValue  = @userInfo;
     this.accessMapValue = @accessMap;
     this.sumAccessValue = @sumAccess;
     this.disabledValue  = @disabled;
     this.countTypeValue = @countType;
 }
Пример #3
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <int, EloixClient.IndexServer.UserInfo> map = new Dictionary <int, EloixClient.IndexServer.UserInfo>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                int key = bbuf.getInt();
                EloixClient.IndexServer.UserInfo value = (EloixClient.IndexServer.UserInfo)bin.readObj(false, null);
                map[key] = value;
            }
            return(map);
        }
Пример #4
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
            UserInfo[] arr = new EloixClient.IndexServer.UserInfo[n0];
            bin.onObjectCreated(arr);

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

            return(arr);
        }
Пример #5
0
 public IXServerEventsContext(String @url, EloixClient.IndexServer.ClientInfo @ci, EloixClient.IndexServer.UserInfo @user, IDictionary <String, String> @sessionOptions, String @clientComputer)
 {
     this.urlValue            = @url;
     this.ciValue             = @ci;
     this.userValue           = @user;
     this.sessionOptionsValue = @sessionOptions;
     this.clientComputerValue = @clientComputer;
 }
Пример #6
0
 public LoginResult(EloixClient.IndexServer.ClientInfo @clientInfo, int @ticketLifetime, EloixClient.IndexServer.UserInfo @user)
 {
     this.clientInfoValue     = @clientInfo;
     this.ticketLifetimeValue = @ticketLifetime;
     this.userValue           = @user;
 }
Пример #7
0
        public virtual void onBeforeTakeWorkFlowNode(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.WFDiagram workflow, EloixClient.IndexServer.WFNode node, EloixClient.IndexServer.UserInfo user, int flags, EloixClient.IndexServer.LockZ lockZ, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                onBeforeTakeWorkFlowNode(ec, workflow, node, user, flags, lockZ);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
Пример #8
0
 public virtual void onBeforeTakeWorkFlowNode(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.WFDiagram workflow, EloixClient.IndexServer.WFNode node, EloixClient.IndexServer.UserInfo user, int flags, EloixClient.IndexServer.LockZ lockZ)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
Пример #9
0
        public virtual void onBeforeTakeWorkFlowNode(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.WFDiagram workflow, EloixClient.IndexServer.WFNode node, EloixClient.IndexServer.UserInfo user, int flags, EloixClient.IndexServer.LockZ lockZ, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onBeforeTakeWorkFlowNode req = new BRequest_IXServerEvents_onBeforeTakeWorkFlowNode();

            req.ecValue       = ec;
            req.workflowValue = workflow;
            req.nodeValue     = node;
            req.userValue     = user;
            req.flagsValue    = flags;
            req.lockZValue    = lockZ;
            transport.sendMethod(req, asyncResult);
        }
Пример #10
0
        public virtual void onBeforeTakeWorkFlowNode(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.WFDiagram workflow, EloixClient.IndexServer.WFNode node, EloixClient.IndexServer.UserInfo user, int flags, EloixClient.IndexServer.LockZ lockZ)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            onBeforeTakeWorkFlowNode(ec, workflow, node, user, flags, lockZ, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }