The program entry point public static void main(String[]) is located in the sk.ipesoft.sgcom.Main interface, which is implemented by the MainImpl class. The entry point of the program will ensure the processing of parameters from the command line and the use of the correct module for Guice and MainImpl, in turn, contains the application "mainloop" - the main program loop that controls and controls the connection of SGCom with the metering central.
This split is used in testing (mainly OperationTest) where the mainloop is run with test parameters pushed in after test initialization prepares the test environment.


















Napíšte komentár