Thank you Carl for your response. What if I don't use prefix 'stream' in service definition, shall rpc calls still be executed in asynchronous manner by implementing TestServiceGrpc.TestServiceStub?
Modified service def: service TestService { rpc testRPCCall(Test) returns (Test) {} } On Monday, November 12, 2018 at 5:37:56 PM UTC+5:30, qplc wrote: > > Hi, > > I've implemented below service definition in my grpc server/client > application. > > service TestService { > rpc testRPCCall(stream Test) returns (stream Test) {} > } > > I found below stubs can be implemented on proto file compilation. > TestServiceGrpc.TestServiceStub > TestServiceGrpc.TestServiceBlockingStub > TestServiceGrpc.TestServiceFutureStub > TestServiceGrpc.TestServiceImplBase > > I want to adapt asynchronous behavior of rpc calls. But, I'm not sure > which one of above should be implemented. Is it mandatory to stream a rpc > call(stream Test) as mentioned in above service definition for asynchronous > implementation? > > > Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/043d9ef2-5ac4-4a5c-bc2e-c05fd79097ef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.