@Override
public Row next() {
if (!servers.hasNext()) {
return null;
}
ServerMonitor server = servers.next();
ValuesRow row = new ValuesRow(rowType,
server.getServerType(),
(server.getLocalPort() < 0) ? null : Long.valueOf(server.getLocalPort()),
server.getStartTimeMillis()/1000,
Long.valueOf(server.getSessionCount()),
++rowCounter);
return row;
}