Class Limiter_GetTableHandler
java.lang.Object
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
com.aoindustries.aoserv.master.net.reputation.Limiter_GetTableHandler
- All Implemented Interfaces:
TableHandler.GetTableHandler
- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetTableAdministrator(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) Regular user may access the limiters for servers they have direct access to.protected voidgetTableDaemon(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) Router may access all limiters in the same server farm.Gets the set of tables handled.protected voidgetTableMaster(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) Admin may access all limiters.Methods inherited from class com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
getTable
-
Constructor Details
-
Limiter_GetTableHandler
public Limiter_GetTableHandler()
-
-
Method Details
-
getTableIds
Description copied from interface:TableHandler.GetTableHandlerGets the set of tables handled. -
getTableMaster
protected void getTableMaster(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) throws IOException, SQLException Admin may access all limiters.- Specified by:
getTableMasterin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException
-
getTableDaemon
protected void getTableDaemon(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) throws IOException, SQLException Router may access all limiters in the same server farm. Non-router daemon may not access any reputation limiters.- Specified by:
getTableDaemonin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException- See Also:
-
getTableAdministrator
protected void getTableAdministrator(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) throws IOException, SQLException Regular user may access the limiters for servers they have direct access to.- Specified by:
getTableAdministratorin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException
-
