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

Added Report

parent 84b29076
...@@ -7,13 +7,10 @@ ...@@ -7,13 +7,10 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="bc0e4876-bdca-4575-8e2f-e6d1b5942353" name="Changes" comment=""> <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$/.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$/PortScanner.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/driver/Driver.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/driver/Driver.java" afterDir="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> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -39,17 +36,17 @@ ...@@ -39,17 +36,17 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"RunOnceActivity.OpenProjectViewOnStart": "true", &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"SHARE_PROJECT_CONFIGURATION_FILES": "true", &quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
"last_opened_file_path": "D:/HIAST/FIY/FS/Parallel Programming/Lab/2/HW/JavaPortScanner-master", &quot;last_opened_file_path&quot;: &quot;D:/HIAST/FIY/FS/Parallel Programming/Lab/2/HW/JavaPortScanner-master&quot;,
"project.structure.last.edited": "Artifacts", &quot;project.structure.last.edited&quot;: &quot;Artifacts&quot;,
"project.structure.proportion": "0.15", &quot;project.structure.proportion&quot;: &quot;0.15&quot;,
"project.structure.side.proportion": "0.2" &quot;project.structure.side.proportion&quot;: &quot;0.2&quot;
} }
}]]></component> }</component>
<component name="RunManager" selected="Application.Driver"> <component name="RunManager" selected="Application.Driver">
<configuration name="Driver" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true"> <configuration name="Driver" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="driver.Driver" /> <option name="MAIN_CLASS_NAME" value="driver.Driver" />
......
File added
...@@ -13,7 +13,7 @@ import scanner.PortStatus; ...@@ -13,7 +13,7 @@ import scanner.PortStatus;
public class SingleIPDriver public class SingleIPDriver
{ {
private static final int SCAN_TIMEOUT = 200; 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) 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