File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
simulator/src/main/java/org/hiero/block/simulator/generator Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: Apache-2.0
2+ package org .hiero .block .simulator .generator ;
3+
4+ import com .hedera .hapi .block .stream .protoc .Block ;
5+ import com .hedera .hapi .block .stream .protoc .BlockItem ;
6+ import java .io .IOException ;
7+ import org .hiero .block .simulator .config .types .GenerationMode ;
8+ import org .hiero .block .simulator .exception .BlockSimulatorParsingException ;
9+
10+ /**
11+ * The BlockAsDirBlockStreamManager class implements the BlockStreamManager interface to manage the
12+ * block stream from a directory.
13+ */
14+ public class BlockAsDirBlockStreamManager implements BlockStreamManager {
15+
16+
17+ @ Override
18+ public void init () {
19+ BlockStreamManager .super .init ();
20+ }
21+
22+ @ Override
23+ public GenerationMode getGenerationMode () {
24+ return null ;
25+ }
26+
27+ @ Override
28+ public BlockItem getNextBlockItem () throws IOException , BlockSimulatorParsingException {
29+ return null ;
30+ }
31+
32+ @ Override
33+ public Block getNextBlock () throws IOException , BlockSimulatorParsingException {
34+ return null ;
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments