Пример #1
0
		public virtual void SendArraysInt(int[,] arr2, int[,,] arr3, int[,,,] arr4, BAsyncResult<int[]> asyncResult) {
			BRequest_RemoteArrayTypes23_sendArraysInt req = new BRequest_RemoteArrayTypes23_sendArraysInt();			
			req.arr2Value = arr2;
			req.arr3Value = arr3;
			req.arr4Value = arr4;
			transport.sendMethod(req, asyncResult);
		}
Пример #2
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<int[]> SendArraysIntAsync(int[,] arr2, int[,,] arr3, int[,,,] arr4){
			BRequest_RemoteArrayTypes23_sendArraysInt req = new BRequest_RemoteArrayTypes23_sendArraysInt();			
			req.arr2Value = arr2;
			req.arr3Value = arr3;
			req.arr4Value = arr4;
			Task<int[]> task = Task<int[]>.Factory.FromAsync(transport.BeginSend<int[]>, transport.EndSend<int[]>, req, null);
			return await task;
		}
Пример #3
0
        public virtual void SendArraysInt(int[,] arr2, int[,,] arr3, int[,,,] arr4, BAsyncResult <int[]> asyncResult)
        {
            BRequest_RemoteArrayTypes23_sendArraysInt req = new BRequest_RemoteArrayTypes23_sendArraysInt();

            req.arr2Value = arr2;
            req.arr3Value = arr3;
            req.arr4Value = arr4;
            transport.sendMethod(req, asyncResult);
        }
Пример #4
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <int[]> SendArraysIntAsync(int[,] arr2, int[,,] arr3, int[,,,] arr4)
        {
            BRequest_RemoteArrayTypes23_sendArraysInt req = new BRequest_RemoteArrayTypes23_sendArraysInt();

            req.arr2Value = arr2;
            req.arr3Value = arr3;
            req.arr4Value = arr4;
            Task <int[]> task = Task <int[]> .Factory.FromAsync(transport.BeginSend <int[]>, transport.EndSend <int[]>, req, null);

            return(await task);
        }
Пример #5
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_RemoteArrayTypes23_sendArraysInt obj = (BRequest_RemoteArrayTypes23_sendArraysInt)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.arr2Value, false, byps.test.api.BSerializer_1957744307.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.arr3Value, false, byps.test.api.BSerializer_196606293.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.arr4Value, false, byps.test.api.BSerializer_39910537.instance);
        }
Пример #6
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemoteArrayTypes23_sendArraysInt obj = (BRequest_RemoteArrayTypes23_sendArraysInt)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteArrayTypes23_sendArraysInt()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.arr2Value = (int[, ])bin.readObj(false, byps.test.api.BSerializer_1957744307.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.arr3Value = (int[, , ])bin.readObj(false, byps.test.api.BSerializer_196606293.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.arr4Value = (int[, , , ])bin.readObj(false, byps.test.api.BSerializer_39910537.instance);

            return(obj);
        }