Public Member Functions | |
def | __init__ |
def | join_rear_link |
def | __enter__ |
def | __exit__ |
def | start |
def | stop |
def | port |
def | accept_back_to_front_ticket |
A service-side bridge between RPC Framework and the C-ish _low code.
def grpc._adapter.fore.ForeLink.__init__ | ( | self, | |
pool, | |||
request_deserializers, | |||
response_serializers, | |||
root_certificates, | |||
key_chain_pairs, | |||
port = None |
|||
) |
Constructor. Args: pool: A thread pool. request_deserializers: A dict from RPC method names to request object deserializer behaviors. response_serializers: A dict from RPC method names to response object serializer behaviors. root_certificates: The PEM-encoded client root certificates as a bytestring or None. key_chain_pairs: A sequence of PEM-encoded private key-certificate chain pairs. port: The port on which to serve, or None to have a port selected automatically.
def grpc._adapter.fore.ForeLink.__enter__ | ( | self | ) |
See activated.Activated.__enter__ for specification.
def grpc._adapter.fore.ForeLink.__exit__ | ( | self, | |
exc_type, | |||
exc_val, | |||
exc_tb | |||
) |
See activated.Activated.__exit__ for specification.
def grpc._adapter.fore.ForeLink.accept_back_to_front_ticket | ( | self, | |
ticket | |||
) |
See base_interfaces.ForeLink.accept_back_to_front_ticket for spec.
def grpc._adapter.fore.ForeLink.join_rear_link | ( | self, | |
rear_link | |||
) |
See base_interfaces.ForeLink.join_rear_link for specification.
def grpc._adapter.fore.ForeLink.port | ( | self | ) |
Identifies the port on which this ForeLink is servicing RPCs. Returns: The number of the port on which this ForeLink is servicing RPCs, or None if this ForeLink is not currently activated and servicing RPCs.
def grpc._adapter.fore.ForeLink.start | ( | self | ) |
See activated.Activated.start for specification.
def grpc._adapter.fore.ForeLink.stop | ( | self | ) |
See activated.Activated.stop for specification.