예제 #1
0
        public virtual void SetNode(byps.test.api.refs.Node v, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteReferences_setNode req = new BRequest_RemoteReferences_setNode();

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

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.vValue, false, null);
        }
예제 #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task SetNodeAsync(byps.test.api.refs.Node v)
        {
            BRequest_RemoteReferences_setNode req = new BRequest_RemoteReferences_setNode();

            req.vValue = v;
            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_RemoteReferences_setNode obj = (BRequest_RemoteReferences_setNode)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteReferences_setNode()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.vValue = (byps.test.api.refs.Node)bin.readObj(false, null);

            return(obj);
        }
예제 #5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task SetNodeAsync(byps.test.api.refs.Node v){
			BRequest_RemoteReferences_setNode req = new BRequest_RemoteReferences_setNode();			
			req.vValue = v;
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
예제 #6
0
		public virtual void SetNode(byps.test.api.refs.Node v, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteReferences_setNode req = new BRequest_RemoteReferences_setNode();			
			req.vValue = v;
			transport.sendMethod(req, asyncResult);
		}