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 {
|
public class App {
|
||||||
private static final Logger logger = LogManager.getLogger(App.class);
|
private static final Logger logger = LogManager.getLogger(App.class);
|
||||||
|
|
||||||
|
|
||||||
public static void main(String[] args){
|
public static void main(String[] args){
|
||||||
try {
|
try {
|
||||||
Connection connection = new Connection("localhost");
|
Connection connection = new Connection("localhost");
|
||||||
|
Interactive interactive = new Interactive(connection.getIn(), connection.getOut());
|
||||||
|
interactive.beginLoopAs(connection.isHost());
|
||||||
|
|
||||||
} catch (IOException exception) {
|
} catch (IOException exception) {
|
||||||
exception.printStackTrace();
|
exception.printStackTrace();
|
||||||
|
Loading…
Reference in New Issue
Block a user