Ags.FrontController¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
Virtual Methods¶
- Inherited:
 
  | 
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
Do a request on the front controller.  | 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
controller  | 
r  | 
Class Details¶
- class Ags.FrontController(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new()¶
 - Returns:
 - Return type:
 
Instantiate new
Ags.FrontControllerNew in version 3.0.0.
- do_request(msg, query, security_context, path, login, security_token)¶
 - Parameters:
 msg (
Soup.ServerMessage) – theSoup.ServerMessagequery ({
object:object}) – theGLib.HashTablesecurity_context (
GObject.Object) – theAgs.SecurityContextpath (
str) – the context path to accesslogin (
str) – the loginsecurity_token (
str) – the security token
- Returns:
 the response on success, otherwise
None.- Return type:
 
Do a XML-RPC request for the given path with query.
New in version 3.0.0.
- do_do_request(msg, query, security_context, path, login, security_token) virtual¶
 - Parameters:
 msg (
Soup.ServerMessage) – theSoup.ServerMessagequery ({
object:object}) – theGLib.HashTablesecurity_context (
GObject.Object) – theAgs.SecurityContextpath (
str) – the context path to accesslogin (
str) – the loginsecurity_token (
str) – the security token
- Returns:
 the response on success, otherwise
None.- Return type:
 
Do a XML-RPC request for the given path with query.
New in version 3.0.0.
Signal Details¶
- Ags.FrontController.signals.do_request(front_controller, msg, query, security_context, context_path, user, security_token)¶
 - Signal Name:
 do-request- Flags:
 - Parameters:
 front_controller (
Ags.FrontController) – The object which received the signalmsg (
GObject.Object) – theSoup.ServerMessagequery (
objectorNone) – theGLib.HashTablesecurity_context (
GObject.Object) – theAgs.SecurityContextcontext_path (
str) – the context path to accessuser (
str) – the user’s UUIDsecurity_token (
str) – the security token
- Returns:
 the response
- Return type:
 
Do a request on the front controller.
New in version 3.0.0.