use of org.openlca.proto.grpc.ProtoFlowMapName in project olca-modules by GreenDelta.
the class FlowMapService method getAll.
@Override
public void getAll(Empty req, StreamObserver<ProtoFlowMapName> resp) {
new MappingFileDao(db).getNames().stream().sorted(Strings::compare).map(name -> ProtoFlowMapName.newBuilder().setName(name).build()).forEach(resp::onNext);
resp.onCompleted();
}
Aggregations