On Aug 22, 2010, at 4:36 , omer.c wrote:
Can a service receive multiplate arugments or only one?
Only one.
How can I define a service which will accept both arguments:
Create a union message, or define two RPCs. Unions: http://code.google.com/apis/protocolbuffers/docs/techniques.html#union Two RPCs: service Service { rpc sendObject1(Object1) returns (Result1); rpc sendObject2(Object2) returns (Result2); } Hope this helps, Evan -- Evan Jones http://evanjones.ca/ -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.