Skip to content

Commit

Permalink
Remove generated server constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
rdegnan committed Jul 7, 2019
1 parent 430fe0f commit 67a77c8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions RSocket.Rpc.Protobuf/src/csharp_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,6 @@ void GenerateServerClass(Printer* out, const ServiceDescriptor* service) {
out->Outdent();
out->Print("\n");

out->Print("public $servername$(RSocket.RSocket socket)\n",
"servername", GetServerClassName(service));
out->Print("{\n");
out->Indent();
out->Print("RSocketService.Register(socket, this);\n");
out->Outdent();
out->Print("}\n");
out->Print("\n");

// RPC methods
for (int i = 0; i < service->method_count(); ++i) {
const MethodDescriptor *method = service->method(i);
Expand Down

0 comments on commit 67a77c8

Please sign in to comment.