Commit 2383bfbb authored by mohammad.salama's avatar mohammad.salama

Added Report

parent 84b29076
......@@ -7,13 +7,10 @@
</component>
<component name="ChangeListManager">
<list default="true" id="bc0e4876-bdca-4575-8e2f-e6d1b5942353" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.idea/.name" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/artifacts/JavaPortScanner_master_jar.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/JavaPortScanner-master/driver/Driver.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/JavaPortScanner-master/driver/Driver.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/driver/Driver.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/driver/Driver.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/PortScanner.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/artifacts/JavaPortScanner_master_jar/JavaPortScanner-master.jar" beforeDir="false" afterPath="$PROJECT_DIR$/out/artifacts/JavaPortScanner_master_jar/JavaPortScanner-master.jar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/driver/SingleIPDriver.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/driver/SingleIPDriver.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -39,17 +36,17 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"last_opened_file_path": "D:/HIAST/FIY/FS/Parallel Programming/Lab/2/HW/JavaPortScanner-master",
"project.structure.last.edited": "Artifacts",
"project.structure.proportion": "0.15",
"project.structure.side.proportion": "0.2"
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/HIAST/FIY/FS/Parallel Programming/Lab/2/HW/JavaPortScanner-master&quot;,
&quot;project.structure.last.edited&quot;: &quot;Artifacts&quot;,
&quot;project.structure.proportion&quot;: &quot;0.15&quot;,
&quot;project.structure.side.proportion&quot;: &quot;0.2&quot;
}
}]]></component>
}</component>
<component name="RunManager" selected="Application.Driver">
<configuration name="Driver" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="driver.Driver" />
......
File added
......@@ -13,7 +13,7 @@ import scanner.PortStatus;
public class SingleIPDriver
{
private static final int SCAN_TIMEOUT = 200;
private static final int THREAD_COUNT = 8;
private static final int THREAD_COUNT = Runtime.getRuntime().availableProcessors();
public static void start(Target t)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment