示例#1
0
        public virtual void GetValueAfterProcessingExceptions(int sleepSeconds, BAsyncResult <bool> asyncResult)
        {
            BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions req = new BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions();

            req.sleepSecondsValue = sleepSeconds;
            transport.sendMethod(req, asyncResult);
        }
示例#2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions obj = (BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.sleepSecondsValue);
        }
示例#3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <bool> GetValueAfterProcessingExceptionsAsync(int sleepSeconds)
        {
            BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions req = new BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions();

            req.sleepSecondsValue = sleepSeconds;
            Task <bool> task = Task <bool> .Factory.FromAsync(transport.BeginSend <bool>, transport.EndSend <bool>, req, null);

            return(await task);
        }
示例#4
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions obj = (BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteProcessingEx_getValueAfterProcessingExceptions()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.sleepSecondsValue = bbuf.getInt();

            return(obj);
        }