Ejemplo n.º 1
0
        public virtual void SendArraysObject(Object[,] arr2, Object[,,] arr3, Object[,,,] arr4, BAsyncResult <Object[]> asyncResult)
        {
            BRequest_RemoteArrayTypes23_sendArraysObject req = new BRequest_RemoteArrayTypes23_sendArraysObject();

            req.arr2Value = arr2;
            req.arr3Value = arr3;
            req.arr4Value = arr4;
            transport.sendMethod(req, asyncResult);
        }
Ejemplo n.º 2
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <Object[]> SendArraysObjectAsync(Object[,] arr2, Object[,,] arr3, Object[,,,] arr4)
        {
            BRequest_RemoteArrayTypes23_sendArraysObject req = new BRequest_RemoteArrayTypes23_sendArraysObject();

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

            return(await task);
        }
Ejemplo n.º 3
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_RemoteArrayTypes23_sendArraysObject obj = (BRequest_RemoteArrayTypes23_sendArraysObject)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.arr2Value, false, byps.test.api.BSerializer_340213335.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.arr3Value, false, byps.test.api.BSerializer_527503353.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.arr4Value, false, byps.test.api.BSerializer_124584219.instance);
        }
Ejemplo n.º 4
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemoteArrayTypes23_sendArraysObject obj = (BRequest_RemoteArrayTypes23_sendArraysObject)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteArrayTypes23_sendArraysObject()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.arr2Value = (Object[, ])bin.readObj(false, byps.test.api.BSerializer_340213335.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.arr3Value = (Object[, , ])bin.readObj(false, byps.test.api.BSerializer_527503353.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.arr4Value = (Object[, , , ])bin.readObj(false, byps.test.api.BSerializer_124584219.instance);

            return(obj);
        }
Ejemplo n.º 5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<Object[]> SendArraysObjectAsync(Object[,] arr2, Object[,,] arr3, Object[,,,] arr4){
			BRequest_RemoteArrayTypes23_sendArraysObject req = new BRequest_RemoteArrayTypes23_sendArraysObject();			
			req.arr2Value = arr2;
			req.arr3Value = arr3;
			req.arr4Value = arr4;
			Task<Object[]> task = Task<Object[]>.Factory.FromAsync(transport.BeginSend<Object[]>, transport.EndSend<Object[]>, req, null);
			return await task;
		}
Ejemplo n.º 6
0
		public virtual void SendArraysObject(Object[,] arr2, Object[,,] arr3, Object[,,,] arr4, BAsyncResult<Object[]> asyncResult) {
			BRequest_RemoteArrayTypes23_sendArraysObject req = new BRequest_RemoteArrayTypes23_sendArraysObject();			
			req.arr2Value = arr2;
			req.arr3Value = arr3;
			req.arr4Value = arr4;
			transport.sendMethod(req, asyncResult);
		}