Classes | |
class | _Completion |
class | _Subscription |
Functions | |
def | completion (terminal_metadata, code, message) |
def | full_subscription (operator, protocol_receiver) |
Variables | |
_NONE_SUBSCRIPTION | |
def grpc.framework.interfaces.base.utilities.completion | ( | terminal_metadata, | |
code, | |||
message | |||
) |
Creates a base.Completion aggregating the given operation values. Args: terminal_metadata: A terminal metadata value for an operaton. code: A code value for an operation. message: A message value for an operation. Returns: A base.Completion aggregating the given operation values.
Definition at line 45 of file framework/interfaces/base/utilities.py.
def grpc.framework.interfaces.base.utilities.full_subscription | ( | operator, | |
protocol_receiver | |||
) |
Creates a "full" base.Subscription for the given base.Operator. Args: operator: A base.Operator to be used in an operation. protocol_receiver: A base.ProtocolReceiver to be used in an operation. Returns: A base.Subscription of kind base.Subscription.Kind.FULL wrapping the given base.Operator and base.ProtocolReceiver.
Definition at line 59 of file framework/interfaces/base/utilities.py.
|
private |
Definition at line 41 of file framework/interfaces/base/utilities.py.