Move these up with their accessor friends.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4240 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -137,6 +137,22 @@ public class ClientManager
|
||||
return _penders.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of client sessions (some may be disconnected).
|
||||
*/
|
||||
public int getClientCount ()
|
||||
{
|
||||
return _usermap.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of connected clients.
|
||||
*/
|
||||
public int getConnectionCount ()
|
||||
{
|
||||
return _conmap.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Enumerates all active client objects.
|
||||
*/
|
||||
@@ -336,22 +352,6 @@ public class ClientManager
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of client sessions (some may be disconnected).
|
||||
*/
|
||||
public int getClientCount ()
|
||||
{
|
||||
return _usermap.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of connected clients.
|
||||
*/
|
||||
public int getConnectionCount ()
|
||||
{
|
||||
return _conmap.size();
|
||||
}
|
||||
|
||||
// documentation inherited from interface PresentsServer.Reporter
|
||||
public void appendReport (
|
||||
StringBuilder report, long now, long sinceLast, boolean reset)
|
||||
|
||||
Reference in New Issue
Block a user