forked from I2P_Developers/i2p.i2p
comment out unused text summaries
This commit is contained in:
@ -29,6 +29,8 @@ import net.i2p.util.SecureFileOutputStream;
|
|||||||
* These objects are bundled together under a TunnelControllerGroup where the
|
* These objects are bundled together under a TunnelControllerGroup where the
|
||||||
* entire group is stored / loaded from a single config file.
|
* entire group is stored / loaded from a single config file.
|
||||||
*
|
*
|
||||||
|
* This is the class used by several plugins to create tunnels, so
|
||||||
|
* take care to maintain the public methods as a stable API.
|
||||||
*/
|
*/
|
||||||
public class TunnelController implements Logging {
|
public class TunnelController implements Logging {
|
||||||
private final Log _log;
|
private final Log _log;
|
||||||
@ -523,8 +525,14 @@ public class TunnelController implements Logging {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A text description of the tunnel.
|
||||||
|
* @deprecated unused
|
||||||
|
*/
|
||||||
public void getSummary(StringBuilder buf) {
|
public void getSummary(StringBuilder buf) {
|
||||||
String type = getType();
|
String type = getType();
|
||||||
|
buf.append(type);
|
||||||
|
/****
|
||||||
if ("httpclient".equals(type))
|
if ("httpclient".equals(type))
|
||||||
getHttpClientSummary(buf);
|
getHttpClientSummary(buf);
|
||||||
else if ("client".equals(type))
|
else if ("client".equals(type))
|
||||||
@ -535,8 +543,10 @@ public class TunnelController implements Logging {
|
|||||||
getHttpServerSummary(buf);
|
getHttpServerSummary(buf);
|
||||||
else
|
else
|
||||||
buf.append("Unknown type ").append(type);
|
buf.append("Unknown type ").append(type);
|
||||||
|
****/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/****
|
||||||
private void getHttpClientSummary(StringBuilder buf) {
|
private void getHttpClientSummary(StringBuilder buf) {
|
||||||
String description = getDescription();
|
String description = getDescription();
|
||||||
if ( (description != null) && (description.trim().length() > 0) )
|
if ( (description != null) && (description.trim().length() > 0) )
|
||||||
@ -628,7 +638,11 @@ public class TunnelController implements Logging {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
****/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
public void log(String s) {
|
public void log(String s) {
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
_messages.add(s);
|
_messages.add(s);
|
||||||
|
Reference in New Issue
Block a user