gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | List of all members
grpc.framework.base.interfaces.End Class Reference
Inheritance diagram for grpc.framework.base.interfaces.End:
grpc.framework.base.interfaces.Back grpc.framework.base.interfaces.Front grpc.framework.base.interfaces.BackLink grpc.framework.base.interfaces.FrontLink grpc.framework.base._ends.BackLink grpc.framework.base._ends.FrontLink

Public Member Functions

def operation_stats
 
def add_idle_action
 

Detailed Description

Common type for entry-point objects on both sides of an operation.

Member Function Documentation

def grpc.framework.base.interfaces.End.add_idle_action (   self,
  action 
)
Adds an action to be called when this End has no ongoing operations.

Args:
  action: A callable that accepts no arguments.
def grpc.framework.base.interfaces.End.operation_stats (   self)
Reports the number of terminated operations broken down by outcome.

Returns:
  A dictionary from Outcome value to an integer identifying the number
of operations that terminated with that outcome.

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