예제 #1
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <char> GetCharAsync()
        {
            BRequest_RemotePrimitiveTypes_getChar req = new BRequest_RemotePrimitiveTypes_getChar();
            Task <char> task = Task <char> .Factory.FromAsync(transport.BeginSend <char>, transport.EndSend <char>, req, null);

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

            BBufferBin bbuf = bin.bbuf;

            return(obj);
        }
예제 #3
0
        public virtual void GetChar(BAsyncResult <char> asyncResult)
        {
            BRequest_RemotePrimitiveTypes_getChar req = new BRequest_RemotePrimitiveTypes_getChar();

            transport.sendMethod(req, asyncResult);
        }
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<char> GetCharAsync(){
			BRequest_RemotePrimitiveTypes_getChar req = new BRequest_RemotePrimitiveTypes_getChar();			
			Task<char> task = Task<char>.Factory.FromAsync(transport.BeginSend<char>, transport.EndSend<char>, req, null);
			return await task;
		}
		public virtual void GetChar(BAsyncResult<char> asyncResult) {
			BRequest_RemotePrimitiveTypes_getChar req = new BRequest_RemotePrimitiveTypes_getChar();			
			transport.sendMethod(req, asyncResult);
		}