Classes | Functions
grpc.framework.interfaces.face.utilities Namespace Reference

Classes

class  _MethodImplementation
 

Functions

def stream_stream_event (behavior)
 
def stream_stream_inline (behavior)
 
def stream_unary_event (behavior)
 
def stream_unary_inline (behavior)
 
def unary_stream_event (behavior)
 
def unary_stream_inline (behavior)
 
def unary_unary_event (behavior)
 
def unary_unary_inline (behavior)
 

Function Documentation

◆ stream_stream_event()

def grpc.framework.interfaces.face.utilities.stream_stream_event (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a stream-stream RPC method as a callable
  value that takes a stream.Consumer to which to pass the response values
  of the RPC and an face.ServicerContext and returns a stream.Consumer to
  which the request values of the RPC should be passed.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 154 of file framework/interfaces/face/utilities.py.

◆ stream_stream_inline()

def grpc.framework.interfaces.face.utilities.stream_stream_inline (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a stream-stream RPC method as a callable
  value that takes an iterator of request values and an
  face.ServicerContext object and returns an iterator of response values.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 89 of file framework/interfaces/face/utilities.py.

◆ stream_unary_event()

def grpc.framework.interfaces.face.utilities.stream_unary_event (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a stream-unary RPC method as a callable
  value that takes a response callback to which to pass the response value
  of the RPC and an face.ServicerContext and returns a stream.Consumer to
  which the request values of the RPC should be passed.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 137 of file framework/interfaces/face/utilities.py.

◆ stream_unary_inline()

def grpc.framework.interfaces.face.utilities.stream_unary_inline (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a stream-unary RPC method as a callable
  value that takes an iterator of request values and an
  face.ServicerContext object and returns a response value.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 73 of file framework/interfaces/face/utilities.py.

◆ unary_stream_event()

def grpc.framework.interfaces.face.utilities.unary_stream_event (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a unary-stream RPC method as a callable
  value that takes a request value, a stream.Consumer to which to pass the
  the response values of the RPC, and an face.ServicerContext.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 121 of file framework/interfaces/face/utilities.py.

◆ unary_stream_inline()

def grpc.framework.interfaces.face.utilities.unary_stream_inline (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a unary-stream RPC method as a callable
  value that takes a request value and an face.ServicerContext object and
  returns an iterator of response values.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 57 of file framework/interfaces/face/utilities.py.

◆ unary_unary_event()

def grpc.framework.interfaces.face.utilities.unary_unary_event (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a unary-unary RPC method as a callable
  value that takes a request value, a response callback to which to pass
  the response value of the RPC, and an face.ServicerContext.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 105 of file framework/interfaces/face/utilities.py.

◆ unary_unary_inline()

def grpc.framework.interfaces.face.utilities.unary_unary_inline (   behavior)
Creates an face.MethodImplementation for the given behavior.

  Args:
behavior: The implementation of a unary-unary RPC method as a callable value
  that takes a request value and an face.ServicerContext object and
  returns a response value.

  Returns:
An face.MethodImplementation derived from the given behavior.

Definition at line 41 of file framework/interfaces/face/utilities.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32