aide tracker
parent
1355ef14b1
commit
3edb0bf9e5
@ -0,0 +1,27 @@
|
||||
package tools;
|
||||
|
||||
/** Test ports.
|
||||
* @author Louis Royer
|
||||
* @author Flavien Haas
|
||||
* @author JS Auge
|
||||
* @version 1.0
|
||||
*/
|
||||
public class TestPort {
|
||||
|
||||
public boolean testPortServer(int port) {
|
||||
if((port > 7000) && (port < 7999)){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean testPortTracker(int port) {
|
||||
if((port > 6000) && (port < 6999)){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue