|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, service_descriptor) |
| def | BuildServiceStub (self, cls) |
Public Attributes | |
| descriptor | |
| cls | |
Constructs a protocol service stub class using a service descriptor. Given a service descriptor, this class constructs a suitable stub class. A stub is just a type-safe wrapper around an RpcChannel which emulates a local implementation of the service. One service stub builder instance constructs exactly one class. It means all instances of that class share the same service stub builder.
| def google.protobuf.service_reflection._ServiceStubBuilder.__init__ | ( | self, | |
| service_descriptor | |||
| ) |
Initializes an instance of the service stub class builder. Args: service_descriptor: ServiceDescriptor to use when constructing the stub class.
| def google.protobuf.service_reflection._ServiceStubBuilder.BuildServiceStub | ( | self, | |
| cls | |||
| ) |
Constructs the stub class. Args: cls: The class that will be constructed.
| google.protobuf.service_reflection._ServiceStubBuilder.cls |
| google.protobuf.service_reflection._ServiceStubBuilder.descriptor |
1.8.13