numberOfOpenSessions method

int numberOfOpenSessions()

Implementation

int numberOfOpenSessions()
{
  var n = 0;
  for (var i = 0; i < _slots.length; ++i)
  {
    if (_slots[i] != null)
    {
      ++n;
    }
  }
  return n;
}