Replace all <hr /> and <br /> with <hr> and <br> whilst we're in html4 transitional.
This commit is contained in:
@ -611,7 +611,7 @@ public class JobQueue {
|
||||
if (states != null)
|
||||
for (int i = 0; i < states.length; i++)
|
||||
buf.append(states[i]).append(" ");
|
||||
buf.append("]</b><br />\n");
|
||||
buf.append("]</b><br>\n");
|
||||
|
||||
long now = _context.clock().now();
|
||||
|
||||
@ -720,7 +720,7 @@ public class JobQueue {
|
||||
avgPendingTime = totPendingTime / totRuns;
|
||||
}
|
||||
|
||||
buf.append("<tr><td colspan=\"10\"><hr /></td><tr>");
|
||||
buf.append("<tr><td colspan=\"10\"><hr></td><tr>");
|
||||
buf.append("<tr>");
|
||||
buf.append("<td><i><b>").append("SUMMARY").append("</b></i></td>");
|
||||
buf.append("<td><i>").append(totRuns).append("</i></td>");
|
||||
|
@ -597,23 +597,23 @@ public class Router {
|
||||
"<option value=\"/oldconsole.jsp#netdb\">Network Database</option>\n" +
|
||||
"<option value=\"/oldconsole.jsp#logs\">Log messages</option>\n" +
|
||||
"</select> <input type=\"submit\" value=\"GO\" /> </form>" +
|
||||
"<hr />\n");
|
||||
"<hr>\n");
|
||||
|
||||
StringBuilder buf = new StringBuilder(32*1024);
|
||||
|
||||
if ( (_routerInfo != null) && (_routerInfo.getIdentity() != null) )
|
||||
buf.append("<b>Router: </b> ").append(_routerInfo.getIdentity().getHash().toBase64()).append("<br />\n");
|
||||
buf.append("<b>As of: </b> ").append(new Date(_context.clock().now())).append(" (uptime: ").append(DataHelper.formatDuration(getUptime())).append(") <br />\n");
|
||||
buf.append("<b>Started on: </b> ").append(new Date(getWhenStarted())).append("<br />\n");
|
||||
buf.append("<b>Clock offset: </b> ").append(_context.clock().getOffset()).append("ms (OS time: ").append(new Date(_context.clock().now() - _context.clock().getOffset())).append(")<br />\n");
|
||||
buf.append("<b>Router: </b> ").append(_routerInfo.getIdentity().getHash().toBase64()).append("<br>\n");
|
||||
buf.append("<b>As of: </b> ").append(new Date(_context.clock().now())).append(" (uptime: ").append(DataHelper.formatDuration(getUptime())).append(") <br>\n");
|
||||
buf.append("<b>Started on: </b> ").append(new Date(getWhenStarted())).append("<br>\n");
|
||||
buf.append("<b>Clock offset: </b> ").append(_context.clock().getOffset()).append("ms (OS time: ").append(new Date(_context.clock().now() - _context.clock().getOffset())).append(")<br>\n");
|
||||
long tot = Runtime.getRuntime().totalMemory()/1024;
|
||||
long free = Runtime.getRuntime().freeMemory()/1024;
|
||||
buf.append("<b>Memory:</b> In use: ").append((tot-free)).append("KB Free: ").append(free).append("KB <br />\n");
|
||||
buf.append("<b>Version:</b> Router: ").append(RouterVersion.VERSION).append(" / SDK: ").append(CoreVersion.VERSION).append("<br />\n");
|
||||
buf.append("<b>Memory:</b> In use: ").append((tot-free)).append("KB Free: ").append(free).append("KB <br>\n");
|
||||
buf.append("<b>Version:</b> Router: ").append(RouterVersion.VERSION).append(" / SDK: ").append(CoreVersion.VERSION).append("<br>\n");
|
||||
if (_higherVersionSeen)
|
||||
buf.append("<b><font color=\"red\">HIGHER VERSION SEEN</font><b> - please <a href=\"http://www.i2p.net/\">check</a> to see if there is a new release out<br />\n");
|
||||
buf.append("<b><font color=\"red\">HIGHER VERSION SEEN</font><b> - please <a href=\"http://www.i2p.net/\">check</a> to see if there is a new release out<br>\n");
|
||||
|
||||
buf.append("<hr /><a name=\"bandwidth\"> </a><h2>Bandwidth</h2>\n");
|
||||
buf.append("<hr><a name=\"bandwidth\"> </a><h2>Bandwidth</h2>\n");
|
||||
long sent = _context.bandwidthLimiter().getTotalAllocatedOutboundBytes();
|
||||
long received = _context.bandwidthLimiter().getTotalAllocatedInboundBytes();
|
||||
buf.append("<ul>");
|
||||
@ -723,41 +723,41 @@ public class Router {
|
||||
|
||||
_context.bandwidthLimiter().renderStatusHTML(out);
|
||||
|
||||
out.write("<hr /><a name=\"clients\"> </a>\n");
|
||||
out.write("<hr><a name=\"clients\"> </a>\n");
|
||||
|
||||
_context.clientManager().renderStatusHTML(out);
|
||||
|
||||
out.write("\n<hr /><a name=\"transports\"> </a>\n");
|
||||
out.write("\n<hr><a name=\"transports\"> </a>\n");
|
||||
|
||||
_context.commSystem().renderStatusHTML(out);
|
||||
|
||||
out.write("\n<hr /><a name=\"profiles\"> </a>\n");
|
||||
out.write("\n<hr><a name=\"profiles\"> </a>\n");
|
||||
|
||||
_context.peerManager().renderStatusHTML(out);
|
||||
|
||||
out.write("\n<hr /><a name=\"tunnels\"> </a>\n");
|
||||
out.write("\n<hr><a name=\"tunnels\"> </a>\n");
|
||||
|
||||
_context.tunnelManager().renderStatusHTML(out);
|
||||
|
||||
out.write("\n<hr /><a name=\"jobs\"> </a>\n");
|
||||
out.write("\n<hr><a name=\"jobs\"> </a>\n");
|
||||
|
||||
_context.jobQueue().renderStatusHTML(out);
|
||||
|
||||
out.write("\n<hr /><a name=\"shitlist\"> </a>\n");
|
||||
out.write("\n<hr><a name=\"shitlist\"> </a>\n");
|
||||
|
||||
_context.shitlist().renderStatusHTML(out);
|
||||
|
||||
out.write("\n<hr /><a name=\"pending\"> </a>\n");
|
||||
out.write("\n<hr><a name=\"pending\"> </a>\n");
|
||||
|
||||
_context.messageRegistry().renderStatusHTML(out);
|
||||
|
||||
out.write("\n<hr /><a name=\"netdb\"> </a>\n");
|
||||
out.write("\n<hr><a name=\"netdb\"> </a>\n");
|
||||
|
||||
_context.netDb().renderLeaseSetHTML(out);
|
||||
_context.netDb().renderStatusHTML(out);
|
||||
|
||||
buf.setLength(0);
|
||||
buf.append("\n<hr /><a name=\"logs\"> </a>\n");
|
||||
buf.append("\n<hr><a name=\"logs\"> </a>\n");
|
||||
List msgs = _context.logManager().getBuffer().getMostRecentMessages();
|
||||
buf.append("\n<h2>Most recent console messages:</h2><table>\n");
|
||||
for (Iterator iter = msgs.iterator(); iter.hasNext(); ) {
|
||||
|
@ -270,7 +270,7 @@ public class Shitlist {
|
||||
if ( (transports != null) && (transports.size() > 0) )
|
||||
buf.append(" on the following transport: ").append(transports);
|
||||
if (entry.cause != null) {
|
||||
buf.append("<br />\n");
|
||||
buf.append("<br>\n");
|
||||
buf.append(entry.cause);
|
||||
}
|
||||
buf.append(" (<a href=\"configpeer.jsp?peer=").append(key.toBase64()).append("#unsh\">unban now</a>)");
|
||||
|
@ -388,7 +388,7 @@ public class ClientManager {
|
||||
|
||||
public void renderStatusHTML(Writer out) throws IOException {
|
||||
StringBuilder buf = new StringBuilder(8*1024);
|
||||
buf.append("<u><b>Local destinations</b></u><br />");
|
||||
buf.append("<u><b>Local destinations</b></u><br>");
|
||||
|
||||
Map runners = null;
|
||||
synchronized (_runners) {
|
||||
@ -397,39 +397,39 @@ public class ClientManager {
|
||||
for (Iterator iter = runners.keySet().iterator(); iter.hasNext(); ) {
|
||||
Destination dest = (Destination)iter.next();
|
||||
ClientConnectionRunner runner = (ClientConnectionRunner)runners.get(dest);
|
||||
buf.append("<b>*</b> ").append(dest.calculateHash().toBase64().substring(0,6)).append("<br />\n");
|
||||
buf.append("<b>*</b> ").append(dest.calculateHash().toBase64().substring(0,6)).append("<br>\n");
|
||||
LeaseSet ls = runner.getLeaseSet();
|
||||
if (ls == null) {
|
||||
buf.append("<font color=\"red\"><i>No lease</i></font><br />\n");
|
||||
buf.append("<font color=\"red\"><i>No lease</i></font><br>\n");
|
||||
} else {
|
||||
long leaseAge = ls.getEarliestLeaseDate() - _ctx.clock().now();
|
||||
if (leaseAge <= 0) {
|
||||
buf.append("<font color=\"red\"><i>Lease expired ");
|
||||
buf.append(DataHelper.formatDuration(0-leaseAge)).append(" ago</i></font><br />\n");
|
||||
buf.append(DataHelper.formatDuration(0-leaseAge)).append(" ago</i></font><br>\n");
|
||||
} else {
|
||||
int count = ls.getLeaseCount();
|
||||
if (count <= 0) {
|
||||
buf.append("<font color=\"red\"><i>No tunnels</i></font><br />\n");
|
||||
buf.append("<font color=\"red\"><i>No tunnels</i></font><br>\n");
|
||||
} else {
|
||||
TunnelId id = ls.getLease(0).getTunnelId();
|
||||
TunnelInfo info = _ctx.tunnelManager().getTunnelInfo(id);
|
||||
if (info == null) {
|
||||
buf.append("<font color=\"red\"><i>Failed tunnels</i></font><br />\n");
|
||||
buf.append("<font color=\"red\"><i>Failed tunnels</i></font><br>\n");
|
||||
} else {
|
||||
buf.append(count).append(" x ");
|
||||
buf.append(info.getLength() - 1).append(" hop tunnel");
|
||||
if (count != 1)
|
||||
buf.append('s');
|
||||
buf.append("<br />\n");
|
||||
buf.append("<br>\n");
|
||||
buf.append("Expiring in ").append(DataHelper.formatDuration(leaseAge));
|
||||
buf.append("<br />\n");
|
||||
buf.append("<br>\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buf.append("\n<hr />\n");
|
||||
buf.append("\n<hr>\n");
|
||||
out.write(buf.toString());
|
||||
out.flush();
|
||||
}
|
||||
|
@ -967,18 +967,18 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
|
||||
else
|
||||
buf.append(dest.toBase64().substring(0, 6));
|
||||
}
|
||||
buf.append(")</b><br />\n");
|
||||
buf.append(")</b><br>\n");
|
||||
long exp = ls.getEarliestLeaseDate()-now;
|
||||
if (exp > 0)
|
||||
buf.append("Earliest expiration date in: <i>").append(DataHelper.formatDuration(exp)).append("</i><br />\n");
|
||||
buf.append("Earliest expiration date in: <i>").append(DataHelper.formatDuration(exp)).append("</i><br>\n");
|
||||
else
|
||||
buf.append("Earliest expiration date was: <i>").append(DataHelper.formatDuration(0-exp)).append(" ago</i><br />\n");
|
||||
buf.append("Earliest expiration date was: <i>").append(DataHelper.formatDuration(0-exp)).append(" ago</i><br>\n");
|
||||
for (int i = 0; i < ls.getLeaseCount(); i++) {
|
||||
buf.append("Lease ").append(i).append(": gateway <i>");
|
||||
buf.append(ls.getLease(i).getGateway().toBase64().substring(0,6));
|
||||
buf.append("</i> tunnelId <i>").append(ls.getLease(i).getTunnelId().getTunnelId()).append("</i><br />\n");
|
||||
buf.append("</i> tunnelId <i>").append(ls.getLease(i).getTunnelId().getTunnelId()).append("</i><br>\n");
|
||||
}
|
||||
buf.append("<hr />\n");
|
||||
buf.append("<hr>\n");
|
||||
out.write(buf.toString());
|
||||
buf.setLength(0);
|
||||
}
|
||||
@ -1076,18 +1076,18 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
|
||||
String hash = info.getIdentity().getHash().toBase64();
|
||||
buf.append("<a name=\"").append(hash.substring(0, 6)).append("\" ></a>");
|
||||
if (isUs) {
|
||||
buf.append("<a name=\"our-info\" ></a><b>Our info: ").append(hash).append("</b><br />\n");
|
||||
buf.append("<a name=\"our-info\" ></a><b>Our info: ").append(hash).append("</b><br>\n");
|
||||
} else {
|
||||
buf.append("<b>Peer info for:</b> ").append(hash).append("<br />\n");
|
||||
buf.append("<b>Peer info for:</b> ").append(hash).append("<br>\n");
|
||||
}
|
||||
|
||||
long age = _context.clock().now() - info.getPublished();
|
||||
if (isUs && _context.router().isHidden())
|
||||
buf.append("Hidden, Updated: <i>").append(DataHelper.formatDuration(age)).append(" ago</i><br />\n");
|
||||
buf.append("Hidden, Updated: <i>").append(DataHelper.formatDuration(age)).append(" ago</i><br>\n");
|
||||
else if (age > 0)
|
||||
buf.append("Published: <i>").append(DataHelper.formatDuration(age)).append(" ago</i><br />\n");
|
||||
buf.append("Published: <i>").append(DataHelper.formatDuration(age)).append(" ago</i><br>\n");
|
||||
else
|
||||
buf.append("Published: <i>in ").append(DataHelper.formatDuration(0-age)).append("???</i><br />\n");
|
||||
buf.append("Published: <i>in ").append(DataHelper.formatDuration(0-age)).append("???</i><br>\n");
|
||||
buf.append("Address(es): <i>");
|
||||
String country = _context.commSystem().getCountry(info.getIdentity().getHash());
|
||||
if(country != null) {
|
||||
@ -1103,19 +1103,19 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
|
||||
buf.append('[').append(DataHelper.stripHTML(name)).append('=').append(DataHelper.stripHTML(val)).append("] ");
|
||||
}
|
||||
}
|
||||
buf.append("</i><br />\n");
|
||||
buf.append("</i><br>\n");
|
||||
if (full) {
|
||||
buf.append("Stats: <br /><i><code>\n");
|
||||
buf.append("Stats: <br><i><code>\n");
|
||||
for (Iterator iter = info.getOptions().keySet().iterator(); iter.hasNext(); ) {
|
||||
String key = (String)iter.next();
|
||||
String val = info.getOption(key);
|
||||
buf.append(DataHelper.stripHTML(key)).append(" = ").append(DataHelper.stripHTML(val)).append("<br />\n");
|
||||
buf.append(DataHelper.stripHTML(key)).append(" = ").append(DataHelper.stripHTML(val)).append("<br>\n");
|
||||
}
|
||||
buf.append("</code></i>\n");
|
||||
} else {
|
||||
buf.append("<a href=\"netdb.jsp?r=").append(hash.substring(0, 6)).append("\" >Full entry</a>\n");
|
||||
}
|
||||
buf.append("<hr />\n");
|
||||
buf.append("<hr>\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ class ProfileOrganizerRenderer {
|
||||
}
|
||||
|
||||
if (tier != prevTier)
|
||||
buf.append("<tr><td colspan=\"7\"><hr /></td></tr>\n");
|
||||
buf.append("<tr><td colspan=\"7\"><hr></td></tr>\n");
|
||||
prevTier = tier;
|
||||
|
||||
buf.append("<tr><td align=\"center\" nowrap>");
|
||||
@ -219,8 +219,8 @@ class ProfileOrganizerRenderer {
|
||||
buf.append("</table>");
|
||||
|
||||
buf.append("<h3>Thresholds:</h3>");
|
||||
buf.append("<b>Speed:</b> ").append(num(_organizer.getSpeedThreshold())).append(" (").append(fast).append(" fast peers)<br />");
|
||||
buf.append("<b>Capacity:</b> ").append(num(_organizer.getCapacityThreshold())).append(" (").append(reliable).append(" high capacity peers)<br />");
|
||||
buf.append("<b>Speed:</b> ").append(num(_organizer.getSpeedThreshold())).append(" (").append(fast).append(" fast peers)<br>");
|
||||
buf.append("<b>Capacity:</b> ").append(num(_organizer.getCapacityThreshold())).append(" (").append(reliable).append(" high capacity peers)<br>");
|
||||
buf.append("<b>Integration:</b> ").append(num(_organizer.getIntegrationThreshold())).append(" (").append(integrated).append(" well integrated peers)");
|
||||
buf.append("<h3>Definitions:</h3><ul>");
|
||||
buf.append("<li><b>groups</b>: as determined by the profile organizer</li>");
|
||||
|
@ -454,7 +454,7 @@ public class UPnP extends ControlPoint implements DeviceChangeListener, EventLis
|
||||
/** warning - slow */
|
||||
public String renderStatusHTML() {
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
sb.append("<a name=\"upnp\"></a><b>UPnP Status:</b><br />");
|
||||
sb.append("<a name=\"upnp\"></a><b>UPnP Status:</b><br>");
|
||||
|
||||
if(isDisabled) {
|
||||
sb.append("UPnP has been disabled; Do you have more than one UPnP Internet Gateway Device on your LAN ?");
|
||||
|
@ -720,7 +720,7 @@ public class NTCPTransport extends TransportImpl {
|
||||
}
|
||||
|
||||
if (peers.size() > 0) {
|
||||
// buf.append("<tr> <td colspan=\"11\"><hr /></td></tr>\n");
|
||||
// buf.append("<tr> <td colspan=\"11\"><hr></td></tr>\n");
|
||||
buf.append("<tr class=\"tablefooter\"> <td align=\"center\"><b>").append(peers.size()).append(" peers</b></td> <td> </td> <td> ");
|
||||
buf.append("</td> <td align=\"center\"><b>").append(formatRate(bpsRecv/1024)).append("/").append(formatRate(bpsSend/1024)).append("K/s</b>");
|
||||
buf.append("</td> <td align=\"center\"><b>").append(DataHelper.formatDuration(totalUptime/peers.size()));
|
||||
|
@ -1843,17 +1843,17 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
|
||||
boolean appended = false;
|
||||
if (_activeThrottle.isChoked(peer.getRemotePeer())) {
|
||||
if (!appended) buf.append("<br />");
|
||||
if (!appended) buf.append("<br>");
|
||||
buf.append(" <i>Choked</i>");
|
||||
appended = true;
|
||||
}
|
||||
if (peer.getConsecutiveFailedSends() > 0) {
|
||||
if (!appended) buf.append("<br />");
|
||||
if (!appended) buf.append("<br>");
|
||||
buf.append(" <i>").append(peer.getConsecutiveFailedSends()).append(" fail(s)</i>");
|
||||
appended = true;
|
||||
}
|
||||
if (_context.shitlist().isShitlisted(peer.getRemotePeer(), STYLE)) {
|
||||
if (!appended) buf.append("<br />");
|
||||
if (!appended) buf.append("<br>");
|
||||
buf.append(" <i>Shitlist</i>");
|
||||
appended = true;
|
||||
}
|
||||
@ -1985,7 +1985,7 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
numPeers++;
|
||||
}
|
||||
|
||||
// buf.append("<tr><td colspan=\"16\"><hr /></td></tr>\n");
|
||||
// buf.append("<tr><td colspan=\"16\"><hr></td></tr>\n");
|
||||
buf.append(" <tr class=\"tablefooter\"> <td colspan=\"3\" align=\"right\"><b>Total</b></td>");
|
||||
buf.append(" <td align=\"center\" nowrap><b>");
|
||||
buf.append(formatKBps(bpsIn)).append("/").append(formatKBps(bpsOut));
|
||||
@ -2012,7 +2012,7 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
double nondupSent = ((double)bytesTransmitted - ((double)resentTotal)*averagePacketSize);
|
||||
double bwResent = (nondupSent <= 0 ? 0d : ((((double)resentTotal)*averagePacketSize) / nondupSent));
|
||||
buf.append("<h3>Percentage of bytes retransmitted (lifetime): ").append(formatPct(bwResent));
|
||||
buf.append("</h3><i>(Includes retransmission required by packet loss)</i><br /></p>\n");
|
||||
buf.append("</h3><i>(Includes retransmission required by packet loss)</i><br></p>\n");
|
||||
out.write(buf.toString());
|
||||
buf.setLength(0);
|
||||
out.write(KEY);
|
||||
@ -2032,24 +2032,24 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
}
|
||||
|
||||
private static final String KEY = "<h3>Definitions:</h3><div class=\"configure\">" +
|
||||
"<br><b id=\"def.peer\">Peer</b>: the remote peer.<br />\n" +
|
||||
"<b id=\"def.dir\">Dir</b>: v means they offer to introduce us, ^ means we offer to introduce them.<br />\n" +
|
||||
"<b id=\"def.idle\">Idle</b>: the idle time is how long since a packet has been received or sent.<br />\n" +
|
||||
"<b id=\"def.rate\">In/out</b>: the rates show a smoothed inbound and outbound transfer rate (KBytes per second).<br />\n" +
|
||||
"<b id=\"def.up\">Up</b>: the uptime is how long ago this session was established.<br />\n" +
|
||||
"<b id=\"def.skew\">Skew</b>: the skew says how far off the other user's clock is, relative to your own.<br />\n" +
|
||||
"<b id=\"def.cwnd\">Cwnd</b>: the congestion window is how many bytes in 'in flight' you can send w/out an acknowledgement, / <br />\n" +
|
||||
" the number of currently active messages being sent, /<br />\n" +
|
||||
" the maximum number of concurrent messages to send, /<br />\n"+
|
||||
" the number of consecutive sends which were blocked due to throws message window size.<br />\n" +
|
||||
"<b id=\"def.ssthresh\">Sst</b>: the slow start threshold helps make sure the cwnd doesn't grow too fast.<br />\n" +
|
||||
"<b id=\"def.rtt\">Rtt</b>: the round trip time is how long it takes to get an acknowledgement of a packet.<br />\n" +
|
||||
"<b id=\"def.dev\">Dev</b>: the standard deviation of the round trip time, to help control the retransmit timeout.<br />\n" +
|
||||
"<b id=\"def.rto\">Rto</b>: the retransmit timeout controls how frequently an unacknowledged packet will be retransmitted.<br />\n" +
|
||||
"<b id=\"def.mtu\">Mtu</b>: current sending packet size / estimated receiving packet size.<br />\n" +
|
||||
"<b id=\"def.send\">TX</b>: the number of packets sent to the peer.<br />\n" +
|
||||
"<b id=\"def.recv\">RX</b>: the number of packets received from the peer.<br />\n" +
|
||||
"<b id=\"def.resent\">ReTX</b>: the number of packets retransmitted to the peer.<br />\n" +
|
||||
"<br><b id=\"def.peer\">Peer</b>: the remote peer.<br>\n" +
|
||||
"<b id=\"def.dir\">Dir</b>: v means they offer to introduce us, ^ means we offer to introduce them.<br>\n" +
|
||||
"<b id=\"def.idle\">Idle</b>: the idle time is how long since a packet has been received or sent.<br>\n" +
|
||||
"<b id=\"def.rate\">In/out</b>: the rates show a smoothed inbound and outbound transfer rate (KBytes per second).<br>\n" +
|
||||
"<b id=\"def.up\">Up</b>: the uptime is how long ago this session was established.<br>\n" +
|
||||
"<b id=\"def.skew\">Skew</b>: the skew says how far off the other user's clock is, relative to your own.<br>\n" +
|
||||
"<b id=\"def.cwnd\">Cwnd</b>: the congestion window is how many bytes in 'in flight' you can send w/out an acknowledgement, / <br>\n" +
|
||||
" the number of currently active messages being sent, /<br>\n" +
|
||||
" the maximum number of concurrent messages to send, /<br>\n"+
|
||||
" the number of consecutive sends which were blocked due to throws message window size.<br>\n" +
|
||||
"<b id=\"def.ssthresh\">Sst</b>: the slow start threshold helps make sure the cwnd doesn't grow too fast.<br>\n" +
|
||||
"<b id=\"def.rtt\">Rtt</b>: the round trip time is how long it takes to get an acknowledgement of a packet.<br>\n" +
|
||||
"<b id=\"def.dev\">Dev</b>: the standard deviation of the round trip time, to help control the retransmit timeout.<br>\n" +
|
||||
"<b id=\"def.rto\">Rto</b>: the retransmit timeout controls how frequently an unacknowledged packet will be retransmitted.<br>\n" +
|
||||
"<b id=\"def.mtu\">Mtu</b>: current sending packet size / estimated receiving packet size.<br>\n" +
|
||||
"<b id=\"def.send\">TX</b>: the number of packets sent to the peer.<br>\n" +
|
||||
"<b id=\"def.recv\">RX</b>: the number of packets received from the peer.<br>\n" +
|
||||
"<b id=\"def.resent\">ReTX</b>: the number of packets retransmitted to the peer.<br>\n" +
|
||||
"<b id=\"def.dupRecv\">DupRX</b>: the number of duplicate packets received from the peer." +
|
||||
"</div>\n";
|
||||
|
||||
|
@ -20,7 +20,7 @@ import java.util.Vector;
|
||||
* a comma separated list of class names of factories or parsers to try (in order from
|
||||
* left to the right). If none found, it will throw an exception.
|
||||
*
|
||||
* <br /><strong>NOTE:</strong>In J2SE or J2EE environments, you may want to use
|
||||
* <br><strong>NOTE:</strong>In J2SE or J2EE environments, you may want to use
|
||||
* <code>newInstance(property, classLoaderCtx)</code>
|
||||
* where first argument is
|
||||
* <code>System.getProperty(XmlPullParserFactory.PROPERTY_NAME)</code>
|
||||
|
@ -233,15 +233,15 @@ public interface XmlSerializer {
|
||||
|
||||
// /**
|
||||
// * Writes a start tag with the given namespace and name.
|
||||
// * <br />If there is no prefix defined (prefix == null) for the given namespace,
|
||||
// * <br>If there is no prefix defined (prefix == null) for the given namespace,
|
||||
// * a prefix will be defined automatically.
|
||||
// * <br />If explicit prefixes is passed (prefix != null) then it will be used
|
||||
// * <br>If explicit prefixes is passed (prefix != null) then it will be used
|
||||
// *and namespace declared if not already declared or
|
||||
// * throw IllegalStateException the same prefix was already set on this
|
||||
// * element (setPrefix()) and was bound to different namespace.
|
||||
// * <br />If namespace is null then prefix must be null too or IllegalStateException is thrown.
|
||||
// * <br />If namespace is null then no namespace prefix is printed but just name.
|
||||
// * <br />If namespace is empty string then serializer will make sure that
|
||||
// * <br>If namespace is null then prefix must be null too or IllegalStateException is thrown.
|
||||
// * <br>If namespace is null then no namespace prefix is printed but just name.
|
||||
// * <br>If namespace is empty string then serializer will make sure that
|
||||
// * default empty namespace is declared (in XML 1.0 xmlns='')
|
||||
// * or throw IllegalStateException if default namespace is already bound
|
||||
// * to non-empty string.
|
||||
@ -252,15 +252,15 @@ public interface XmlSerializer {
|
||||
// /**
|
||||
// * Write an attribute. Calls to attribute() MUST follow a call to
|
||||
// * startTag() immediately.
|
||||
// * <br />If there is no prefix defined (prefix == null) for the given namespace,
|
||||
// * <br>If there is no prefix defined (prefix == null) for the given namespace,
|
||||
// * a prefix will be defined automatically.
|
||||
// * <br />If explicit prefixes is passed (prefix != null) then it will be used
|
||||
// * <br>If explicit prefixes is passed (prefix != null) then it will be used
|
||||
// * and namespace declared if not already declared or
|
||||
// * throw IllegalStateException the same prefix was already set on this
|
||||
// * element (setPrefix()) and was bound to different namespace.
|
||||
// * <br />If namespace is null then prefix must be null too or IllegalStateException is thrown.
|
||||
// * <br />If namespace is null then no namespace prefix is printed but just name.
|
||||
// * <br />If namespace is empty string then serializer will make sure that
|
||||
// * <br>If namespace is null then prefix must be null too or IllegalStateException is thrown.
|
||||
// * <br>If namespace is null then no namespace prefix is printed but just name.
|
||||
// * <br>If namespace is empty string then serializer will make sure that
|
||||
// * default empty namespace is declared (in XML 1.0 xmlns='')
|
||||
// * or throw IllegalStateException if default namespace is already bound
|
||||
// * to non-empty string.
|
||||
@ -270,12 +270,12 @@ public interface XmlSerializer {
|
||||
//
|
||||
// /**
|
||||
// * Write end tag. Repetition of namespace, prefix, and name is just for avoiding errors.
|
||||
// * <br />If namespace or name arguments are different from corresponding startTag call
|
||||
// * <br>If namespace or name arguments are different from corresponding startTag call
|
||||
// * then IllegalArgumentException is thrown, if prefix argument is not null and is different
|
||||
// * from corresponding starTag then IllegalArgumentException is thrown.
|
||||
// * <br />If namespace is null then prefix must be null too or IllegalStateException is thrown.
|
||||
// * <br />If namespace is null then no namespace prefix is printed but just name.
|
||||
// * <br />If namespace is empty string then serializer will make sure that
|
||||
// * <br>If namespace is null then prefix must be null too or IllegalStateException is thrown.
|
||||
// * <br>If namespace is null then no namespace prefix is printed but just name.
|
||||
// * <br>If namespace is empty string then serializer will make sure that
|
||||
// * default empty namespace is declared (in XML 1.0 xmlns='').
|
||||
// * <p><b>Background:</b> in kXML endTag had no arguments, and non matching tags were
|
||||
// * very difficult to find...</p>
|
||||
|
Reference in New Issue
Block a user