The descriptors will stay. All of the abstract interfaces related to services -- Service, RpcChannel, RpcController, etc. -- will be deprecated. New RPC systems will be able to use code generator plugins to inject code specific to them into what protoc generates.
If you are going to provide a protobuf implementation and RPC implementation as one package, you don't even need to worry about plugins. Just design your RPC API however you want and write the code generator to generate appropriate code. 2009/11/30 Romain François <[email protected]> > On 11/23/2009 06:27 PM, Kenton Varda wrote: > >> If you want something that's likely to work with other languages, I'd >> just implement RPC over HTTP. Assuming you have HTTP support in R >> already it should be pretty straightforward. Otherwise you'll have to >> look very carefully at the third-party RPC implementations to figure out >> which ones are well-designed (I have not looked closely enough at them >> to know): >> http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns >> >> Please don't copy the RPC interfaces that are part of protocol buffers >> now -- they are going away. >> > > Sorry to get back at this a week after. Can you expand on what is going > away. ServiceDescriptor, MethodDescriptor, RpcChannel, Service ? > > The service definition language will still >> exist, but future versions of protoc will let you plug in a custom code >> generator for them. >> >> 2009/11/22 Romain François <[email protected] >> <mailto:[email protected]>> >> >> >> Hello, >> >> Is there a comparison of the various rpc implementations somewhere ? >> >> We are implementing third party support for R and would like to throw >> an >> rpc implementation into the mix, but which one to choose ? >> >> Romain >> > > > -- > Romain Francois > Professional R Enthusiast > +33(0) 6 28 91 30 30 > http://romainfrancois.blog.free.fr > |- http://tr.im/FtUu : new package : highlight > |- http://tr.im/EAD5 : LondonR slides > `- http://tr.im/BcPw : celebrating R commit #50000 > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
