Esempio n. 1
0
        public virtual void findNextNotification(String searchId, int idx, int max, BAsyncResult <EloixClient.IndexServer.FindResult> asyncResult)
        {
            BRequest_FeedService_findNextNotification req = new BRequest_FeedService_findNextNotification();

            req.searchIdValue = searchId;
            req.idxValue      = idx;
            req.maxValue      = max;
            transport.sendMethod(req, asyncResult);
        }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_FeedService_findNextNotification obj = (BRequest_FeedService_findNextNotification)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.idxValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.maxValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.searchIdValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ciValue, false, null);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_FeedService_findNextNotification obj = (BRequest_FeedService_findNextNotification)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FeedService_findNextNotification()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.idxValue = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.maxValue = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchIdValue = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ciValue = (EloixClient.IndexServer.ClientInfo)bin.readObj(false, null);

            return(obj);
        }