Evd.ConnectionPool¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The target socket address to connect to |
||
r/w/co |
The |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Evd.ConnectionPool(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(address, connection_type)¶
- Parameters:
address (
str
) –connection_type (
GObject.GType
) –
- Return type:
- get_connection(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- get_connection_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- get_tls_credentials()¶
- Return type:
- recycle(conn)¶
- Parameters:
conn (
Evd.Connection
) –- Return type:
- set_tls_credentials(credentials)¶
- Parameters:
credentials (
Evd.TlsCredentials
) –
- do_get_connection_type() virtual¶
- Return type:
Property Details¶
- Evd.ConnectionPool.props.address¶
- Name:
address
- Type:
- Default Value:
- Flags:
The target socket address to connect to
- Evd.ConnectionPool.props.connection_type¶
- Name:
connection-type
- Type:
- Default Value:
<GType EvdConnection>
- Flags:
The
GObject.GType
of the connections handled by the pool