diff --git a/simulator/src/main/java/com/hedera/block/simulator/BlockStreamSimulator.java b/simulator/src/main/java/com/hedera/block/simulator/BlockStreamSimulator.java index 3c0e09538..2e193767f 100644 --- a/simulator/src/main/java/com/hedera/block/simulator/BlockStreamSimulator.java +++ b/simulator/src/main/java/com/hedera/block/simulator/BlockStreamSimulator.java @@ -19,16 +19,25 @@ import com.hedera.block.simulator.config.ConfigProvider; import com.hedera.block.simulator.config.ConfigProviderImpl; import com.hedera.block.simulator.config.data.GrpcConfig; +import java.lang.System.Logger; public class BlockStreamSimulator { - private static final System.Logger LOGGER = + private static final Logger LOGGER = System.getLogger(BlockStreamSimulator.class.getName()); public BlockStreamSimulator() {} public static void main(String[] args) { - LOGGER.log(System.Logger.Level.INFO, "Starting Block Stream Simulator"); + BlockStreamSimulator blockStreamSimulator = new BlockStreamSimulator(); + blockStreamSimulator.start(); + } + + public void start() { ConfigProvider configProvider = new ConfigProviderImpl(); - LOGGER.log(System.Logger.Level.INFO, configProvider.getConfiguration().getConfigData(GrpcConfig.class).port()); + LOGGER.log(Logger.Level.INFO, "Starting Block Stream Simulator"); + } + + public void stop() { + } } diff --git a/simulator/src/main/java/com/hedera/block/simulator/generator/BlockStreamManager.java b/simulator/src/main/java/com/hedera/block/simulator/generator/BlockStreamManager.java new file mode 100644 index 000000000..a30e46f95 --- /dev/null +++ b/simulator/src/main/java/com/hedera/block/simulator/generator/BlockStreamManager.java @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2024 Hedera Hashgraph, LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.hedera.block.simulator.generator; + +public interface BlockStreamManager { +}