Example #1
0
        public virtual void GetClient(int id, BAsyncResult <ClientIF> asyncResult)
        {
            BRequest_ServerIF_getClient req = new BRequest_ServerIF_getClient();

            req.idValue = id;
            transport.sendMethod(req, asyncResult);
        }
Example #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_ServerIF_getClient obj = (BRequest_ServerIF_getClient)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.idValue);
        }
Example #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <ClientIF> GetClientAsync(int id)
        {
            BRequest_ServerIF_getClient req = new BRequest_ServerIF_getClient();

            req.idValue = id;
            Task <ClientIF> task = Task <ClientIF> .Factory.FromAsync(transport.BeginSend <ClientIF>, transport.EndSend <ClientIF>, req, null);

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

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.idValue = bbuf.getInt();

            return(obj);
        }
Example #5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<ClientIF> GetClientAsync(int id){
			BRequest_ServerIF_getClient req = new BRequest_ServerIF_getClient();			
			req.idValue = id;
			Task<ClientIF> task = Task<ClientIF>.Factory.FromAsync(transport.BeginSend<ClientIF>, transport.EndSend<ClientIF>, req, null);
			return await task;
		}
Example #6
0
		public virtual void GetClient(int id, BAsyncResult<ClientIF> asyncResult) {
			BRequest_ServerIF_getClient req = new BRequest_ServerIF_getClient();			
			req.idValue = id;
			transport.sendMethod(req, asyncResult);
		}