Grpc Service Writer

GrpcSeriesWriter is a class for registering a series which stores GRPC request/response pairs.

class bosdyn.bddf.grpc_service_writer.GrpcServiceWriter(data_writer, service_name)[source]

Bases: object

A class for logging GRPC request and response messages.

log_request(protobuf)[source]

Store request protobuf in the file.

Args

protobuf: a protobuf request message, not serialized.

log_response(protobuf)[source]

Store response protobuf in the file.

Args

protobuf: a protobuf response message, not serialized.