summaryrefslogtreecommitdiffstats
path: root/test/samples/uscxml/proto/TestServices.proto
blob: c96c34f189ce669854b715abbf0162455c1bef9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
option java_package = "org.umundo.protobuf.tests";

message EchoRequest {
	required string name = 1;
	optional bytes buffer = 2;
}
message EchoReply {
	required string name = 1;
	optional bytes buffer = 2;
}
service EchoService {
 	rpc echo (EchoRequest) returns (EchoReply);
}

message PingRequest {
	required string name = 1;
}
message PingReply {
	required string name = 1;
}
service PingService {
 	rpc ping (PingRequest) returns (PingReply);
}