Ejemplo n.º 1
0
        public virtual void CallClientParallel(int v, BAsyncResult <int> asyncResult)
        {
            BRequest_ServerIF_callClientParallel req = new BRequest_ServerIF_callClientParallel();

            req.vValue = v;
            transport.sendMethod(req, asyncResult);
        }
Ejemplo n.º 2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_ServerIF_callClientParallel obj = (BRequest_ServerIF_callClientParallel)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.vValue);
        }
Ejemplo n.º 3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <int> CallClientParallelAsync(int v)
        {
            BRequest_ServerIF_callClientParallel req = new BRequest_ServerIF_callClientParallel();

            req.vValue = v;
            Task <int> task = Task <int> .Factory.FromAsync(transport.BeginSend <int>, transport.EndSend <int>, req, null);

            return(await task);
        }
Ejemplo n.º 4
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_ServerIF_callClientParallel obj = (BRequest_ServerIF_callClientParallel)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ServerIF_callClientParallel()));

            BBufferBin bbuf = bin.bbuf;

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

            return(obj);
        }
Ejemplo n.º 5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<int> CallClientParallelAsync(int v){
			BRequest_ServerIF_callClientParallel req = new BRequest_ServerIF_callClientParallel();			
			req.vValue = v;
			Task<int> task = Task<int>.Factory.FromAsync(transport.BeginSend<int>, transport.EndSend<int>, req, null);
			return await task;
		}
Ejemplo n.º 6
0
		public virtual void CallClientParallel(int v, BAsyncResult<int> asyncResult) {
			BRequest_ServerIF_callClientParallel req = new BRequest_ServerIF_callClientParallel();			
			req.vValue = v;
			transport.sendMethod(req, asyncResult);
		}