I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:IQueryHandler (UT3)
Interface >> IQueryHandler |
- Package:
- WebAdmin
- Known implementing classes:
- QHCurrent, QHDefaults
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
The query handler interface. The WebAdmin contains a collection of query handlers with handle most requests assigned to the WebAdmin application. During creating the query handler will receive a couple of set up calls: init(...) and registerMenuItems(...). The webadmin has to register all URLs it will handle (url without the webapp path prefix). It is also allowed to replace an existing menu item. When the WebAdmin is shut down the cleanup() method will be called. Use this to perform some clean up and to set all Actor references to none (in case the query handler extends Object).
Copyright 2008 Epic Games, Inc. All Rights Reserved
Author: Michiel 'elmuerte' Hendriks
Enums[edit]
EMessageType[edit]
- MT_Information
- MT_Warning
- MT_Error
Structs[edit]
KeyValuePair[edit]
Message[edit]
Used for the generic message processing in WebAdmin.addMessage();
- EMessageType type
- string text
WebAdminQuery[edit]
Struct contain current query information. Passed to the QueryHandlers.
- WebRequest request
- WebResponse response
- ISession session
- IWebAdminUser user
- array<KeyValuePair> cookies
Instance functions[edit]
cleanup[edit]
Cleanup (prepare for being destroyed). If the implementation extends Object it should set all actor references to none.
handleQuery[edit]
Called by the webadmin to request the query handler to handle this query.
Returns:
- true when the query was handled.
init[edit]
Called when the WebAdmin creates and initializes this query handler.
registerMenuItems[edit]
Called by the webadmin to request the query handler to add its menu items to the web admin menu. The menu is used to determine what query handler will be handle a given path. Paths not registered will be passed to all query handlers until one returns true.
unhandledQuery[edit]
Called in case of an unhandled path.
Returns:
- true when the query was handled.