Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }