예제 #1
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <byps.test.api.enu.EnumPlanets> GetPlanetAsync()
        {
            BRequest_RemoteEnums_getPlanet       req  = new BRequest_RemoteEnums_getPlanet();
            Task <byps.test.api.enu.EnumPlanets> task = Task <byps.test.api.enu.EnumPlanets> .Factory.FromAsync(transport.BeginSend <byps.test.api.enu.EnumPlanets>, transport.EndSend <byps.test.api.enu.EnumPlanets>, req, null);

            return(await task);
        }
예제 #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemoteEnums_getPlanet obj = (BRequest_RemoteEnums_getPlanet)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteEnums_getPlanet()));

            BBufferBin bbuf = bin.bbuf;

            return(obj);
        }
예제 #3
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<byps.test.api.enu.EnumPlanets> GetPlanetAsync(){
			BRequest_RemoteEnums_getPlanet req = new BRequest_RemoteEnums_getPlanet();			
			Task<byps.test.api.enu.EnumPlanets> task = Task<byps.test.api.enu.EnumPlanets>.Factory.FromAsync(transport.BeginSend<byps.test.api.enu.EnumPlanets>, transport.EndSend<byps.test.api.enu.EnumPlanets>, req, null);
			return await task;
		}
예제 #4
0
        public virtual void GetPlanet(BAsyncResult <byps.test.api.enu.EnumPlanets> asyncResult)
        {
            BRequest_RemoteEnums_getPlanet req = new BRequest_RemoteEnums_getPlanet();

            transport.sendMethod(req, asyncResult);
        }
예제 #5
0
		public virtual void GetPlanet(BAsyncResult<byps.test.api.enu.EnumPlanets> asyncResult) {
			BRequest_RemoteEnums_getPlanet req = new BRequest_RemoteEnums_getPlanet();			
			transport.sendMethod(req, asyncResult);
		}