to | sid | inactive | out packets | out bytes |
---|---|---|---|---|
" + c.to + " | \n"); + statsFile.write("" + c.streamID + " | \n"); + statsFile.write("" + inactive + " | \n"); + statsFile.write("" + c.packetsLocal + " | \n"); + statsFile.write("" + c.bytesLocal + " | \n"); + statsFile.write("
from | sid | inactive | in packets | ||
---|---|---|---|---|---|
\n"); + } else if (c.from.size() == 1) { + statsFile.write(" | " + c.from.get(0) + " | \n"); + } else { + String out = "";
+ for (int n = 0; n < c.from.size(); n++) {
+ if (n > 0) {
+ out += " "; + } + out += c.from.get(n); + } + statsFile.write(out + " | \n");
+ }
+ statsFile.write(" " + c.streamID + " | \n"); + statsFile.write("" + inactive + " | \n"); + statsFile.write("" + c.packetsRemote + " | \n"); + statsFile.write("
host | live | size |
---|---|---|
" + c.hostname + " | " + inactive + " | " + c.xml.length() + " |
to | sid | inactive | out packets | out bytes |
---|---|---|---|---|
" + c.to + " | \n"); - statsFile.write("" + c.streamID + " | \n"); - statsFile.write("" + inactive + " | \n"); - statsFile.write("" + c.packetsLocal + " | \n"); - statsFile.write("" + c.bytesLocal + " | \n"); - statsFile.write("
from | sid | inactive | in packets | ||
---|---|---|---|---|---|
\n"); - } else if (c.from.size() == 1) { - statsFile.write(" | " + c.from.get(0) + " | \n"); - } else { - String out = "";
- for (int n = 0; n < c.from.size(); n++) {
- if (n > 0) {
- out += " "; - } - out += c.from.get(n); - } - statsFile.write(out + " | \n");
- }
- statsFile.write(" " + c.streamID + " | \n"); - statsFile.write("" + inactive + " | \n"); - statsFile.write("" + c.packetsRemote + " | \n"); - statsFile.write("
host | live | size |
---|---|---|
" + c.hostname + " | " + inactive + " | " + c.xml.length() + " |