Hello,

Can a service receive multiplate arugments or only one?

For example,

message VOID {}

message Object1
{
    required int32 t = 1;
    required int32 s = 2;
}

message Object2
{
    required int32 t2 = 1;
    required int32 s2 = 2;
}

How can I define a service which will accept both arguments:

service my_service
{
 rpc send(Object1, Object2) returns(VOID);   // doesn't compile
}

Is it possible ?

Thanks,
Omer

-- 
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.

Reply via email to