Public Member Functions | List of all members
grpc.ServiceRpcHandler Class Reference
Inheritance diagram for grpc.ServiceRpcHandler:
Inheritance graph
[legend]

Public Member Functions

def service_name (self)
 
- Public Member Functions inherited from grpc.GenericRpcHandler
def service (self, handler_call_details)
 

Detailed Description

An implementation of RPC methods belonging to a service.

A service handles RPC methods with structured names of the form
'/Service.Name/Service.Method', where 'Service.Name' is the value
returned by service_name(), and 'Service.Method' is the method
name.  A service can have multiple method names, but only a single
service name.

Definition at line 1350 of file src/python/grpcio/grpc/__init__.py.

Member Function Documentation

◆ service_name()

def grpc.ServiceRpcHandler.service_name (   self)
Returns this service's name.

Returns:
  The service name.

Reimplemented in grpc._utilities.DictionaryGenericHandler.

Definition at line 1361 of file src/python/grpcio/grpc/__init__.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:31