- All Superinterfaces:
Remote
- All Known Subinterfaces:
EntityServerAdmin
- All Known Implementing Classes:
DefaultServerAdmin
Administration interface for a
RemoteServer
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Garbage collection eventstatic interface
Basic server performance statistics.static interface
Thread statistics -
Method Summary
Modifier and TypeMethodDescriptionclients()
int
void
disconnect
(UUID clientId) Disconnects the given client from the serverint
serverStatistics
(long since) void
setConnectionLimit
(int value) void
shutdown()
Shuts down the serverusers()
-
Method Details
-
disconnect
Disconnects the given client from the server- Parameters:
clientId
- the id of the client to disconnect- Throws:
RemoteException
- in case of a communication error
-
users
- Returns:
- the users currently connected to the server
- Throws:
RemoteException
- in case of a communication error
-
clients
- Returns:
- all clients connected to the server
- Throws:
RemoteException
- in case of a communication error
-
shutdown
Shuts down the server- Throws:
RemoteException
- in case of a communication error
-
serverInformation
- Returns:
- static information about the server
- Throws:
RemoteException
- in case of an exception
-
connectionCount
- Returns:
- the number of active connections
- Throws:
RemoteException
- in case of a communication error
-
getConnectionLimit
- Returns:
- the maximum number of concurrent connections this server accepts
- Throws:
RemoteException
- in case of a communication error
-
setConnectionLimit
- Parameters:
value
- the maximum number of concurrent connections this server accepts- Throws:
RemoteException
- in case of a communication error
-
systemProperties
- Returns:
- the server system properties
- Throws:
RemoteException
- in case of an exception
-
serverStatistics
- Parameters:
since
- the time since from which to retrieve statistics- Returns:
- current statistics for this server
- Throws:
RemoteException
- in case of an exception
-