- All Superinterfaces:
Remote
- All Known Subinterfaces:
EntityServerAdmin
- All Known Implementing Classes:
DefaultServerAdmin
Administration interface for a
RemoteServer.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGarbage collection eventstatic interfaceBasic server performance statistics.static interfaceThread statistics -
Method Summary
Modifier and TypeMethodDescriptionclients()intvoiddisconnect(UUID clientId) Disconnects the given client from the serverintvoidsetConnectionLimit(int value) voidshutdown()Shuts down the serverstatistics(long since) users()
-
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
-
serializationFilterPatterns
- Returns:
- the active serialization filter patterns
- Throws:
RemoteException- in case of an exception
-
statistics
- Parameters:
since- the time since from which to retrieve statistics- Returns:
- current statistics for this server
- Throws:
RemoteException- in case of an exception
-