gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | List of all members
grpc._adapter.rear.RearLink Class Reference
Inheritance diagram for grpc._adapter.rear.RearLink:

Public Member Functions

def __init__
 
def join_fore_link
 
def __enter__
 
def __exit__
 
def start
 
def stop
 
def accept_front_to_back_ticket
 

Detailed Description

An invocation-side bridge between RPC Framework and the C-ish _low code.

Constructor & Destructor Documentation

def grpc._adapter.rear.RearLink.__init__ (   self,
  host,
  port,
  pool,
  request_serializers,
  response_deserializers,
  secure,
  root_certificates,
  private_key,
  certificate_chain,
  metadata_transformer = None,
  server_host_override = None 
)
Constructor.

Args:
  host: The host to which to connect for RPC service.
  port: The port to which to connect for RPC service.
  pool: A thread pool.
  request_serializers: A dict from RPC method names to request object
serializer behaviors.
  response_deserializers: A dict from RPC method names to response object
deserializer behaviors.
  secure: A boolean indicating whether or not to use a secure connection.
  root_certificates: The PEM-encoded root certificates or None to ask for
them to be retrieved from a default location.
  private_key: The PEM-encoded private key to use or None if no private
key should be used.
  certificate_chain: The PEM-encoded certificate chain to use or None if
no certificate chain should be used.
  metadata_transformer: A function that given a metadata object produces
another metadata to be used in the underlying communication on the
wire.
  server_host_override: (For testing only) the target name used for SSL
host name checking.

Member Function Documentation

def grpc._adapter.rear.RearLink.__enter__ (   self)
See activated.Activated.__enter__ for specification.
def grpc._adapter.rear.RearLink.__exit__ (   self,
  exc_type,
  exc_val,
  exc_tb 
)
See activated.Activated.__exit__ for specification.
def grpc._adapter.rear.RearLink.accept_front_to_back_ticket (   self,
  ticket 
)
See base_interfaces.RearLink.accept_front_to_back_ticket for spec.
def grpc._adapter.rear.RearLink.join_fore_link (   self,
  fore_link 
)
See base_interfaces.RearLink.join_fore_link for specification.
def grpc._adapter.rear.RearLink.start (   self)
See activated.Activated.start for specification.
def grpc._adapter.rear.RearLink.stop (   self)
See activated.Activated.stop for specification.

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