コード例 #1
0
        public virtual void onBeforeLogin(EloixClient.IndexServer.IXServerEventsContext ec, String userName, EloixClient.IndexServer.LoginScriptOptions opts, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onBeforeLogin req = new BRequest_IXServerEvents_onBeforeLogin();

            req.ecValue       = ec;
            req.userNameValue = userName;
            req.optsValue     = opts;
            transport.sendMethod(req, asyncResult);
        }
コード例 #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_IXServerEvents_onBeforeLogin obj = (BRequest_IXServerEvents_onBeforeLogin)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.userNameValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ecValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.optsValue, false, null);
        }
コード例 #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_IXServerEvents_onBeforeLogin obj = (BRequest_IXServerEvents_onBeforeLogin)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_IXServerEvents_onBeforeLogin()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.userNameValue = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ecValue = (EloixClient.IndexServer.IXServerEventsContext)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.optsValue = (EloixClient.IndexServer.LoginScriptOptions)bin.readObj(false, null);

            return(obj);
        }