Beispiel #1
0
        public virtual void SetLong1(ISet <long> long1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteSetTypes_setLong1 req = new BRequest_RemoteSetTypes_setLong1();

            req.long1Value = long1;
            transport.sendMethod(req, asyncResult);
        }
Beispiel #2
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task SetLong1Async(ISet <long> long1)
        {
            BRequest_RemoteSetTypes_setLong1 req = new BRequest_RemoteSetTypes_setLong1();

            req.long1Value = long1;
            Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null);

            await task;
        }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_RemoteSetTypes_setLong1 obj = (BRequest_RemoteSetTypes_setLong1)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.long1Value, false, byps.test.api.BSerializer_1457164460.instance);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemoteSetTypes_setLong1 obj = (BRequest_RemoteSetTypes_setLong1)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteSetTypes_setLong1()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.long1Value = (ISet <long>)bin.readObj(false, null);

            return(obj);
        }
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task SetLong1Async(ISet<long> long1){
			BRequest_RemoteSetTypes_setLong1 req = new BRequest_RemoteSetTypes_setLong1();			
			req.long1Value = long1;
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
		public virtual void SetLong1(ISet<long> long1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setLong1 req = new BRequest_RemoteSetTypes_setLong1();			
			req.long1Value = long1;
			transport.sendMethod(req, asyncResult);
		}