Hello,

I have this proto files where the root file is defined as below:

syntax = "proto3";

package upfservice.v1;

import "session.proto";
import "hello.proto";

// The Upfu_BfRuntime service definition.
service UPFService {
// Initial handshake initiated by client. 
rpc Hello(stream HelloRequest) returns (stream HelloResponse) {}

// Client shutdown (resource can be cleaned up)
rpc Bye(ByeRequest) returns (ByeResponse) {}

// Ping request
rpc Ping(PingRequest) returns (PingResponse) {}

// Session management bi-directional streaming api.
rpc Session(stream ServiceDataSessionRequest) returns (stream 
ServiceDataSessionResponse) {}

// UR collection server streaming (client call this one then wait for 
continuous UR stream)
rpc UsageReport(UsageReportRequest) returns (stream UsageReports) {}
}

The generated file gives me a typedef to work with:


typedef 
WithAsyncMethod_Hello<WithAsyncMethod_Bye<WithAsyncMethod_Ping<WithAsyncMethod_Session<WithAsyncMethod_UsageReport<Service
 
> > > > > AsyncService;

It does not seems right since I can't use the AsyncService to do anything. 
Is it because there is a limit of 1 asynchronous stream rpc per service?



-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/a3941835-afcf-4a60-92fb-844a59837708%40googlegroups.com.

Reply via email to