|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface for the server administration.
ChangeLog:
$Log: ServerAdmin.java,v $ Revision 1.2 2001/06/04 14:21:10 jiriki Made source more comliant to coding guidelines. Revision 1.1.1.1 2001/04/29 18:05:19 jiriki Imported sources from zola. Revision 1.5 2001/03/19 21:50:49 wombat - Worked on admin client. - improved shutdown sequence - removed bugs in login/logout sequence Revision 1.4 2001/03/18 18:10:26 wombat Updated Documentation Revision 1.3 2001/03/18 17:32:04 wombat Changed database concept Revision 1.2 2001/03/14 18:40:44 wombat Updated Documentation, removed bugs in Gui factory
| Method Summary | |
int |
getMaxTables()
Get the maximum number of tables allowed to concurrently exist in the server. |
int |
getMaxTournaments()
Get the maximum number of tournaments allowed to concurrently exist in the server. |
int |
getMaxUsers()
Return the maximum number of users allowed to be concurrently logged into the server. |
int |
getThreadPoolThreads()
Return the number of threads in the thread pool |
boolean |
isPrintingRMI()
Return if RMI calls are printed to standart IO. |
void |
restart()
Restart the server. |
void |
setMaxTables(int maxTables)
Set the maximum number of tables allowed to concurrently exist in the server. |
void |
setMaxTournaments(int maxTournaments)
Set the maximum number of tournaments allowed to concurrently exist in the server. |
void |
setMaxUsers(int maxUsers)
Set the maximum number of users allowed to be concurrently logged into the server. |
void |
setPrintingRMI(boolean printRMI)
Set if RMI calls should be printed to standart IO. |
void |
setThreadPoolThreads(int threads)
Set the number of threads in the thread pool. |
void |
shutdown()
Shut down the server. |
| Method Detail |
public void shutdown()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user,
that has no administrative rights.InvalidSessionException - If called from an invalid session context.
public void restart()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public boolean isPrintingRMI()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setPrintingRMI(boolean printRMI)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
printRMI - true if RMI calls should be printed to standart IO.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public int getThreadPoolThreads()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setThreadPoolThreads(int threads)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
threads - Number of threads in the threadpool. This has to be a
value > 0.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public int getMaxUsers()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setMaxUsers(int maxUsers)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
maxUsers - Maximum users. This value has to be >= 0.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public int getMaxTables()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setMaxTables(int maxTables)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
maxTables - Maximum number of tables. This has to be >= 0.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public int getMaxTournaments()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
public void setMaxTournaments(int maxTournaments)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
maxTournaments - Maximum number of tournaments.java.rmi.RemoteException - If the RemoteCall fails.KosiAccessException - If called by an user, that has no
administrative rights.InvalidSessionException - If called from an invalid session context.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||