public virtual void executeRegisteredFunction(EloixClient.IndexServer.IXServerEventsContext ec, String functionName, EloixClient.IndexServer.Any any, BAsyncResult <EloixClient.IndexServer.Any> asyncResult)
        {
            EloixClient.IndexServer.Any __byps__ret = default(EloixClient.IndexServer.Any);
            Exception __byps__ex = null;

            try {
                __byps__ret = executeRegisteredFunction(ec, functionName, any);
            }
            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
            Any[] arr = new EloixClient.IndexServer.Any[n0];
            bin.onObjectCreated(arr);

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

            return(arr);
        }
Esempio n. 3
0
 public FindByRegisteredFunction(String @functionName, EloixClient.IndexServer.Any @args)
 {
     this.functionNameValue = @functionName;
     this.argsValue         = @args;
 }
 public virtual EloixClient.IndexServer.Any executeRegisteredFunction(EloixClient.IndexServer.IXServerEventsContext ec, String functionName, EloixClient.IndexServer.Any any)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
Esempio n. 5
0
        public virtual void executeRegisteredFunction(EloixClient.IndexServer.IXServerEventsContext ec, String functionName, EloixClient.IndexServer.Any any, BAsyncResult <EloixClient.IndexServer.Any> asyncResult)
        {
            BRequest_IXServerEvents_executeRegisteredFunction req = new BRequest_IXServerEvents_executeRegisteredFunction();

            req.ecValue           = ec;
            req.functionNameValue = functionName;
            req.anyValue          = any;
            transport.sendMethod(req, asyncResult);
        }
Esempio n. 6
0
        public virtual EloixClient.IndexServer.Any executeRegisteredFunction(EloixClient.IndexServer.IXServerEventsContext ec, String functionName, EloixClient.IndexServer.Any any)
        {
            BSyncResult <EloixClient.IndexServer.Any> asyncResult = new BSyncResult <EloixClient.IndexServer.Any>();

            executeRegisteredFunction(ec, functionName, any, BAsyncResultHelper.ToDelegate <EloixClient.IndexServer.Any>(asyncResult));
            return(asyncResult.GetResult());
        }
Esempio n. 7
0
 public Event(long @busId, long @type, long @param1, String @param2, long @id, long @senderId, byte[] @data, EloixClient.IndexServer.Any @any, String @acl)
 {
     this.busIdValue    = @busId;
     this.typeValue     = @type;
     this.param1Value   = @param1;
     this.param2Value   = @param2;
     this.idValue       = @id;
     this.senderIdValue = @senderId;
     this.dataValue     = @data;
     this.anyValue      = @any;
     this.aclValue      = @acl;
 }