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.FrontController
New in version 3.0.0.
- do_request(msg, query, security_context, path, login, security_token)¶
- Parameters:
msg (
Soup.ServerMessage
) – theSoup.ServerMessage
query ({
object
:object
}) – theGLib.HashTable
security_context (
GObject.Object
) – theAgs.SecurityContext
path (
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.ServerMessage
query ({
object
:object
}) – theGLib.HashTable
security_context (
GObject.Object
) – theAgs.SecurityContext
path (
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.ServerMessage
query (
object
orNone
) – theGLib.HashTable
security_context (
GObject.Object
) – theAgs.SecurityContext
context_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.