Example #1
0
        public virtual void getUserNames(EloixClient.IndexServer.IXServerEventsContext ec, String[] ids, EloixClient.IndexServer.CheckoutUsersZ checkoutUsersZ, BAsyncResult <EloixClient.IndexServer.UserName[]> asyncResult)
        {
            BRequest_IXServerEvents_getUserNames req = new BRequest_IXServerEvents_getUserNames();

            req.ecValue             = ec;
            req.idsValue            = ids;
            req.checkoutUsersZValue = checkoutUsersZ;
            transport.sendMethod(req, asyncResult);
        }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_IXServerEvents_getUserNames obj = (BRequest_IXServerEvents_getUserNames)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.checkoutUsersZValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ecValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.idsValue, true, EloixClient.IndexServer.BSerializer_1888107655.instance);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_IXServerEvents_getUserNames obj = (BRequest_IXServerEvents_getUserNames)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_IXServerEvents_getUserNames()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.checkoutUsersZValue = (EloixClient.IndexServer.CheckoutUsersZ)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ecValue = (EloixClient.IndexServer.IXServerEventsContext)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.idsValue = (String[])bin.readObj(false, EloixClient.IndexServer.BSerializer_1888107655.instance);

            return(obj);
        }