コード例 #1
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <bool> GetBoolAsync()
        {
            BRequest_RemotePrimitiveTypes_getBool req = new BRequest_RemotePrimitiveTypes_getBool();
            Task <bool> task = Task <bool> .Factory.FromAsync(transport.BeginSend <bool>, transport.EndSend <bool>, req, null);

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

            BBufferBin bbuf = bin.bbuf;

            return(obj);
        }
コード例 #3
0
        public virtual void GetBool(BAsyncResult <bool> asyncResult)
        {
            BRequest_RemotePrimitiveTypes_getBool req = new BRequest_RemotePrimitiveTypes_getBool();

            transport.sendMethod(req, asyncResult);
        }
コード例 #4
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<bool> GetBoolAsync(){
			BRequest_RemotePrimitiveTypes_getBool req = new BRequest_RemotePrimitiveTypes_getBool();			
			Task<bool> task = Task<bool>.Factory.FromAsync(transport.BeginSend<bool>, transport.EndSend<bool>, req, null);
			return await task;
		}
コード例 #5
0
		public virtual void GetBool(BAsyncResult<bool> asyncResult) {
			BRequest_RemotePrimitiveTypes_getBool req = new BRequest_RemotePrimitiveTypes_getBool();			
			transport.sendMethod(req, asyncResult);
		}