gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | List of all members
grpc.framework.base._reception._Receiver Class Reference
Inheritance diagram for grpc.framework.base._reception._Receiver:
grpc.framework.base._reception._BackReceiver grpc.framework.base._reception._FrontReceiver

Public Member Functions

def abort_if_abortive
 
def receive
 
def reception_failure
 

Detailed Description

Common specification of different ticket-handling behavior.

Member Function Documentation

def grpc.framework.base._reception._Receiver.abort_if_abortive (   self,
  ticket 
)
Aborts the operation if the ticket is abortive.

Args:
  ticket: A just-arrived ticket.

Returns:
  A boolean indicating whether or not this Receiver aborted the operation
based on the ticket.
def grpc.framework.base._reception._Receiver.receive (   self,
  ticket 
)
Handles a just-arrived ticket.

Args:
  ticket: A just-arrived ticket.

Returns:
  A boolean indicating whether or not the ticket was terminal (i.e. whether
or not non-abortive tickets are legal after this one).
def grpc.framework.base._reception._Receiver.reception_failure (   self)
Aborts the operation with an indication of reception failure.

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