예제 #1
0
        public virtual void SetPartner(ClientIF client, BAsyncResult <Object> asyncResult)
        {
            BRequest_ServerIF_setPartner req = new BRequest_ServerIF_setPartner();

            req.clientValue = client;
            transport.sendMethod(req, asyncResult);
        }
예제 #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_ServerIF_setPartner obj = (BRequest_ServerIF_setPartner)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.clientValue, false, null);
        }
예제 #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task SetPartnerAsync(ClientIF client)
        {
            BRequest_ServerIF_setPartner req = new BRequest_ServerIF_setPartner();

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

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

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.clientValue = (byps.test.api.srvr.ClientIF)bin.readObj(false, null);

            return(obj);
        }
예제 #5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task SetPartnerAsync(ClientIF client){
			BRequest_ServerIF_setPartner req = new BRequest_ServerIF_setPartner();			
			req.clientValue = client;
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
예제 #6
0
		public virtual void SetPartner(ClientIF client, BAsyncResult<Object> asyncResult) {
			BRequest_ServerIF_setPartner req = new BRequest_ServerIF_setPartner();			
			req.clientValue = client;
			transport.sendMethod(req, asyncResult);
		}