forked from I2P_Developers/i2p.i2p
Javadoc fixes
NDT log tweaks
This commit is contained in:
@ -7,7 +7,7 @@ import java.net.Socket;
|
||||
/**
|
||||
* OsfwWorker creates a thread that listens for a message from the server. It
|
||||
* functions to check if the server has sent a message that is valid and
|
||||
* sufficient to determine if the server->client direction has a fire-wall.
|
||||
* sufficient to determine if the server->client direction has a fire-wall.
|
||||
*
|
||||
* <p>
|
||||
* As part of the simple firewall test, the Server must try to connect to the
|
||||
@ -49,7 +49,7 @@ public class OsfwWorker implements Runnable {
|
||||
* @param iParamTestTime
|
||||
* Test time duration to wait for message from server
|
||||
* @param _localParam
|
||||
* Applet object used to set the result of the S->C firewall test
|
||||
* Applet object used to set the result of the S->C firewall test
|
||||
*/
|
||||
OsfwWorker(ServerSocket srvSocketParam, int iParamTestTime,
|
||||
Tcpbw100 _localParam) {
|
||||
@ -76,7 +76,7 @@ public class OsfwWorker implements Runnable {
|
||||
/**
|
||||
* run() method of this SFW Worker thread. This thread listens on the socket
|
||||
* from the server for a given time period, and checks to see if the server
|
||||
* has sent a message that is valid and sufficient to determine if the S->C
|
||||
* has sent a message that is valid and sufficient to determine if the S->C
|
||||
* direction has a fire-wall.
|
||||
* */
|
||||
public void run() {
|
||||
|
@ -563,38 +563,38 @@ public class Tcpbw100 extends JApplet implements ActionListener {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Client->Server fire-wall test results.
|
||||
* Get Client->Server fire-wall test results.
|
||||
*
|
||||
* @return integer indicating C->S test results
|
||||
* @return integer indicating C->S test results
|
||||
* */
|
||||
public int getC2sSFWTestResults() {
|
||||
return this._iC2sSFWResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Client->Server fire-wall test results.
|
||||
* Set Client->Server fire-wall test results.
|
||||
*
|
||||
* @param iParamC2SRes
|
||||
* integer indicating C->S test results
|
||||
* integer indicating C->S test results
|
||||
* */
|
||||
public void setC2sSFWTestResults(int iParamC2SRes) {
|
||||
this._iC2sSFWResult = iParamC2SRes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Server->Client fire-wall test results.
|
||||
* Get Server->Client fire-wall test results.
|
||||
*
|
||||
* @return integer indicating C->S test results
|
||||
* @return integer indicating C->S test results
|
||||
* */
|
||||
public int getS2cSFWTestResults() {
|
||||
return this._iS2cSFWResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set server->Client fire-wall test results.
|
||||
* Set server->Client fire-wall test results.
|
||||
*
|
||||
* @param iParamS2CRes
|
||||
* integer indicating C->S test results
|
||||
* integer indicating C->S test results
|
||||
* */
|
||||
public void setS2cSFWTestResults(int iParamS2CRes) {
|
||||
this._iS2cSFWResult = iParamS2CRes;
|
||||
@ -4548,7 +4548,7 @@ public class Tcpbw100 extends JApplet implements ActionListener {
|
||||
try {
|
||||
t.interrupt();
|
||||
} catch (RuntimeException re) {
|
||||
_log.warn("TG", re);
|
||||
_log.debug("TG", re);
|
||||
}
|
||||
try {
|
||||
Thread.sleep(20);
|
||||
@ -4559,7 +4559,7 @@ public class Tcpbw100 extends JApplet implements ActionListener {
|
||||
try {
|
||||
t.stop();
|
||||
} catch (RuntimeException re) {
|
||||
_log.warn("TG", re);
|
||||
_log.debug("TG", re);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4571,7 +4571,7 @@ public class Tcpbw100 extends JApplet implements ActionListener {
|
||||
thread_group.destroy();
|
||||
break;
|
||||
}catch( Throwable e ){
|
||||
_log.warn("TG", e);
|
||||
_log.debug("TG", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user