Public Member Functions | |
def | abort_if_abortive |
def | receive |
def | reception_failure |
Common specification of different ticket-handling behavior.
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.