Пример #1
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <ClientIF> GetPartnerAsync()
        {
            BRequest_ServerIF_getPartner req = new BRequest_ServerIF_getPartner();
            Task <ClientIF> task             = Task <ClientIF> .Factory.FromAsync(transport.BeginSend <ClientIF>, transport.EndSend <ClientIF>, req, null);

            return(await task);
        }
Пример #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_ServerIF_getPartner obj = (BRequest_ServerIF_getPartner)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ServerIF_getPartner()));

            BBufferBin bbuf = bin.bbuf;

            return(obj);
        }
Пример #3
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<ClientIF> GetPartnerAsync(){
			BRequest_ServerIF_getPartner req = new BRequest_ServerIF_getPartner();			
			Task<ClientIF> task = Task<ClientIF>.Factory.FromAsync(transport.BeginSend<ClientIF>, transport.EndSend<ClientIF>, req, null);
			return await task;
		}
Пример #4
0
        public virtual void GetPartner(BAsyncResult <ClientIF> asyncResult)
        {
            BRequest_ServerIF_getPartner req = new BRequest_ServerIF_getPartner();

            transport.sendMethod(req, asyncResult);
        }
Пример #5
0
		public virtual void GetPartner(BAsyncResult<ClientIF> asyncResult) {
			BRequest_ServerIF_getPartner req = new BRequest_ServerIF_getPartner();			
			transport.sendMethod(req, asyncResult);
		}