Executable class now starts interactive mode
This commit is contained in:
parent
9c5e820c5f
commit
5f7efe2357
@ -8,10 +8,11 @@ import java.io.IOException;
|
||||
public class App {
|
||||
private static final Logger logger = LogManager.getLogger(App.class);
|
||||
|
||||
|
||||
public static void main(String[] args){
|
||||
try {
|
||||
Connection connection = new Connection("localhost");
|
||||
Interactive interactive = new Interactive(connection.getIn(), connection.getOut());
|
||||
interactive.beginLoopAs(connection.isHost());
|
||||
|
||||
} catch (IOException exception) {
|
||||
exception.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user