Beispiel #1
0
        public virtual void updateTask(EloixClient.IndexServer.ClientInfo ci, EloixClient.IndexServer.UserTask userTask, EloixClient.IndexServer.notify.TaskNotifyType notifyType)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            updateTask(ci, userTask, notifyType, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Beispiel #2
0
        public virtual void updateTask(EloixClient.IndexServer.ClientInfo ci, EloixClient.IndexServer.UserTask userTask, EloixClient.IndexServer.notify.TaskNotifyType notifyType, BAsyncResult <Object> asyncResult)
        {
            BRequest_ClientNotification_updateTask req = new BRequest_ClientNotification_updateTask();

            req.ciValue         = ci;
            req.userTaskValue   = userTask;
            req.notifyTypeValue = notifyType;
            transport.sendMethod(req, asyncResult);
        }
Beispiel #3
0
        public virtual void updateTask(EloixClient.IndexServer.ClientInfo ci, EloixClient.IndexServer.UserTask userTask, EloixClient.IndexServer.notify.TaskNotifyType notifyType, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                updateTask(ci, userTask, notifyType);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
        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
            UserTask[] arr = new EloixClient.IndexServer.UserTask[n0];
            bin.onObjectCreated(arr);

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

            return(arr);
        }
Beispiel #5
0
 public virtual void updateTask(EloixClient.IndexServer.ClientInfo ci, EloixClient.IndexServer.UserTask userTask, EloixClient.IndexServer.notify.TaskNotifyType notifyType)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }