public static void main(String[] args) { String host = args[0]; String port = args[1]; Connections connection = new Connections(host, port); connection.deliveryLoop(new Monitor()); }