Package google :: Package protobuf :: Module service
[frames] | no frames]

Module service

source code

DEPRECATED: Declares the RPC service interfaces.

This module declares the abstract interfaces underlying proto2 RPC services. These are intended to be independent of any particular RPC implementation, so that proto2 services can be used on top of a variety of implementations. Starting with version 2.3.0, RPC implementations should not try to build on these, but should instead provide code generator plugins which generate code specific to the particular RPC implementation. This way the generated code can be more appropriate for the implementation in use and can avoid unnecessary layers of indirection.


Author: petar@google.com (Petar Petrov)

Classes
  RpcException
Exception raised on failed blocking RPC method call.
  Service
Abstract base interface for protocol-buffer-based RPC services.
  RpcController
An RpcController mediates a single method call.
  RpcChannel
Abstract interface for an RPC channel.
Variables
  __package__ = None