RPC Stuff, not working, yet
This commit is contained in:
parent
162b8cb1f9
commit
0175086207
21 changed files with 2490 additions and 2336 deletions
20
proto/Messages.proto
Normal file
20
proto/Messages.proto
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
option cc_generic_services = true;
|
||||
|
||||
package Messages;
|
||||
|
||||
message PingRequest
|
||||
{
|
||||
optional string text = 1;
|
||||
}
|
||||
|
||||
message PingReply
|
||||
{
|
||||
optional string text = 1;
|
||||
}
|
||||
|
||||
service PingService
|
||||
{
|
||||
rpc Ping(PingRequest) returns (PingReply);
|
||||
rpc Ping2(PingRequest) returns (PingReply);
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
package Messages;
|
||||
|
||||
message Reply
|
||||
{
|
||||
optional string text = 1;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
package Messages;
|
||||
|
||||
message Request
|
||||
{
|
||||
optional string text = 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue