grpc4bmi.bmi_grpc_legacy_server module

class grpc4bmi.bmi_grpc_legacy_server.BmiLegacyServer02(model, debug=False)[source]

Bases: BmiServiceServicer

BMI Server class, wrapping an existing python implementation and exposing it via GRPC across the memory space (to listening client processes). The class takes a package, module and class name and instantiates the BMI implementation by assuming a default constructor with no arguments.

For models implementing the bmi interface defined https://pypi.org/project/basic-modeling-interface/0.2/

Parameters:
exception_handler(exc, context)[source]
finalize(request, context)[source]

Missing associated documentation comment in .proto file.

getComponentName(request, context)[source]

Missing associated documentation comment in .proto file.

getCurrentTime(request, context)[source]

Missing associated documentation comment in .proto file.

getEndTime(request, context)[source]

Missing associated documentation comment in .proto file.

getGridOrigin(request, context)[source]

Missing associated documentation comment in .proto file.

getGridRank(request, context)[source]

Missing associated documentation comment in .proto file.

getGridShape(request, context)[source]

Missing associated documentation comment in .proto file.

getGridSize(request, context)[source]

Missing associated documentation comment in .proto file.

getGridSpacing(request, context)[source]

Missing associated documentation comment in .proto file.

getGridType(request, context)[source]

Missing associated documentation comment in .proto file.

getGridX(request, context)[source]

Missing associated documentation comment in .proto file.

getGridY(request, context)[source]

Missing associated documentation comment in .proto file.

getGridZ(request, context)[source]

Missing associated documentation comment in .proto file.

getInputVarNames(request, context)[source]

Missing associated documentation comment in .proto file.

getOutputVarNames(request, context)[source]

Missing associated documentation comment in .proto file.

getStartTime(request, context)[source]

Missing associated documentation comment in .proto file.

getTimeStep(request, context)[source]

Missing associated documentation comment in .proto file.

getTimeUnits(request, context)[source]

Missing associated documentation comment in .proto file.

getValue(request, context)[source]

Missing associated documentation comment in .proto file.

getValueAtIndices(request, context)[source]

Missing associated documentation comment in .proto file.

getValuePtr(request, context)[source]
getVarGrid(request, context)[source]

Missing associated documentation comment in .proto file.

getVarItemSize(request, context)[source]

Missing associated documentation comment in .proto file.

getVarNBytes(request, context)[source]

Missing associated documentation comment in .proto file.

getVarType(request, context)[source]

Missing associated documentation comment in .proto file.

getVarUnits(request, context)[source]

Missing associated documentation comment in .proto file.

initialize(request, context)[source]

Missing associated documentation comment in .proto file.

setValue(request, context)[source]

Missing associated documentation comment in .proto file.

setValueAtIndices(request, context)[source]

Missing associated documentation comment in .proto file.

update(request, context)[source]

Missing associated documentation comment in .proto file.