Ags.ConcurrencyProvider

g Ags.ConcurrencyProvider Ags.ConcurrencyProvider GObject.GInterface GObject.GInterface GObject.GInterface->Ags.ConcurrencyProvider

Implementations:

Ags.ServerApplicationContext, Ags.ThreadApplicationContext

Methods

get_main_loop ()

get_task_launcher ()

get_thread_pool ()

get_worker ()

set_main_loop (main_loop)

set_task_launcher (task_launcher)

set_thread_pool (thread_pool)

set_worker (worker)

Virtual Methods

do_get_main_loop ()

do_get_task_launcher ()

do_get_thread_pool ()

do_get_worker ()

do_set_main_loop (main_loop)

do_set_task_launcher (task_launcher)

do_set_thread_pool (thread_pool)

do_set_worker (worker)

Properties

None

Signals

None

Fields

None

Class Details

class Ags.ConcurrencyProvider
Bases:

GObject.GInterface

Structure:

Ags.ConcurrencyProviderInterface

get_main_loop()
Returns:

the Ags.Thread implementing Ags.MainLoop

Return type:

Ags.Thread

Get main loop of application context.

New in version 3.0.0.

get_task_launcher()
Returns:

the Ags.TaskLauncher

Return type:

Ags.TaskLauncher

Get task launcher of application context.

New in version 3.0.0.

get_thread_pool()
Returns:

the Ags.ThreadPool

Return type:

Ags.ThreadPool

Get thread pool of application context.

New in version 3.0.0.

get_worker()
Returns:

the GLib.List-struct containing workers

Return type:

[Ags.WorkerThread]

Get workers of application context.

New in version 3.0.0.

set_main_loop(main_loop)
Parameters:

main_loop (Ags.Thread) – the Ags.Thread implementing Ags.MainLoop

Set main loop of application context.

New in version 3.0.0.

set_task_launcher(task_launcher)
Parameters:

task_launcher (Ags.TaskLauncher) – the Ags.TaskLauncher

Set task launcher of application context.

New in version 3.0.0.

set_thread_pool(thread_pool)
Parameters:

thread_pool (Ags.ThreadPool) – the Ags.ThreadPool

Set thread pool of application context.

New in version 3.0.0.

set_worker(worker)
Parameters:

worker ([Ags.WorkerThread]) – the GLib.List-struct containing workers

Set workers of application context.

New in version 3.0.0.

do_get_main_loop() virtual
Returns:

the Ags.Thread implementing Ags.MainLoop

Return type:

Ags.Thread

Get main loop of application context.

New in version 3.0.0.

do_get_task_launcher() virtual
Returns:

the Ags.TaskLauncher

Return type:

Ags.TaskLauncher

Get task launcher of application context.

New in version 3.0.0.

do_get_thread_pool() virtual
Returns:

the Ags.ThreadPool

Return type:

Ags.ThreadPool

Get thread pool of application context.

New in version 3.0.0.

do_get_worker() virtual
Returns:

the GLib.List-struct containing workers

Return type:

[Ags.WorkerThread]

Get workers of application context.

New in version 3.0.0.

do_set_main_loop(main_loop) virtual
Parameters:

main_loop (Ags.Thread) – the Ags.Thread implementing Ags.MainLoop

Set main loop of application context.

New in version 3.0.0.

do_set_task_launcher(task_launcher) virtual
Parameters:

task_launcher (Ags.TaskLauncher) – the Ags.TaskLauncher

Set task launcher of application context.

New in version 3.0.0.

do_set_thread_pool(thread_pool) virtual
Parameters:

thread_pool (Ags.ThreadPool) – the Ags.ThreadPool

Set thread pool of application context.

New in version 3.0.0.

do_set_worker(worker) virtual
Parameters:

worker ([Ags.WorkerThread]) – the GLib.List-struct containing workers

Set workers of application context.

New in version 3.0.0.