Ags.Server¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The controller it is assigned with |
||
r/w |
The domain to use |
||
r/w |
The front controller it is assigned with |
||
r/w |
The IPv4 address of the server |
||
r/w |
The IPv6 address of the server |
||
r/w |
The path to use |
||
r/w |
The realm to use |
||
r/w |
The server port to use |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
auth_domain |
r |
||
auth_module |
r |
||
controller |
[ |
r |
|
domain |
r |
||
flags |
r |
||
front_controller |
r |
||
gobject |
r |
||
ip4 |
r |
||
ip4_address |
r |
||
ip4_fd |
r |
||
ip4_socket |
r |
||
ip6 |
r |
||
ip6_address |
r |
||
ip6_fd |
r |
||
ip6_socket |
r |
||
obj_mutex |
r |
||
path |
r |
||
realm |
r |
||
server_info |
r |
||
server_port |
r |
||
soup_server |
r |
||
uuid |
r |
Class Details¶
- class Ags.Server(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
Ags.Server
- Return type:
Instantiate
Ags.Server
.New in version 3.0.0.
- add_controller(controller)¶
- Parameters:
controller (
GObject.Object
) – theAgs.Controller
Add controller to self.
New in version 3.0.0.
- listen()¶
-
Listen as server.
New in version 3.0.0.
- remove_controller(controller)¶
- Parameters:
controller (
GObject.Object
) – theAgs.Controller
Remove controller from self.
New in version 3.0.0.
- set_flags(flags)¶
- Parameters:
flags (
Ags.ServerFlags
) – seeAgs.ServerFlags
-enum
Enable a feature of self.
New in version 3.0.0.
- start()¶
Start the XMLRPC-C abyss server.
New in version 3.0.0.
- stop()¶
Stop the XMLRPC-C abyss server.
New in version 3.0.0.
- test_flags(flags)¶
- Parameters:
flags (
Ags.ServerFlags
) – the flags- Returns:
- Return type:
Test flags to be set on self.
New in version 3.0.0.
- unset_flags(flags)¶
- Parameters:
flags (
Ags.ServerFlags
) – seeAgs.ServerFlags
-enum
Disable a feature of self.
New in version 3.0.0.
- do_listen() virtual¶
-
Listen as server.
New in version 3.0.0.
- do_start() virtual¶
Start the XMLRPC-C abyss server.
New in version 3.0.0.
- do_stop() virtual¶
Stop the XMLRPC-C abyss server.
New in version 3.0.0.
Signal Details¶
- Ags.Server.signals.listen(server)¶
- Signal Name:
listen
- Flags:
- Parameters:
server (
Ags.Server
) – The object which received the signal- Returns:
- Return type:
The
::listen
signal is emited during listen of server.New in version 3.0.0.
- Ags.Server.signals.start(server)¶
- Signal Name:
start
- Flags:
- Parameters:
server (
Ags.Server
) – The object which received the signal
The
::start
signal is emitted as the server starts.New in version 3.0.0.
- Ags.Server.signals.stop(server)¶
- Signal Name:
stop
- Flags:
- Parameters:
server (
Ags.Server
) – The object which received the signal
The
::stop
signal is emitted as the server stops.New in version 3.0.0.
Property Details¶
- Ags.Server.props.controller¶
-
The assigned
Ags.Controller
providing default settings.New in version 3.0.0.
- Ags.Server.props.domain¶
-
The domain to use.
New in version 3.0.0.
- Ags.Server.props.front_controller¶
- Name:
front-controller
- Type:
- Default Value:
- Flags:
The assigned
Ags.FrontController
.New in version 3.0.0.
- Ags.Server.props.ip4¶
-
The IPv4 address as string of the server.
New in version 3.0.0.
- Ags.Server.props.ip6¶
-
The IPv6 address as string of the server.
New in version 3.0.0.
- Ags.Server.props.path¶
-
The path to use.
New in version 4.0.0.
- Ags.Server.props.realm¶
-
The realm to use.
New in version 3.0.0.