| EventDance - Documentation and Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct EvdConnectionPool; struct EvdConnectionPoolClass; void evd_connection_pool_get_connection (EvdConnectionPool *self,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); EvdConnection * evd_connection_pool_get_connection_finish (EvdConnectionPool *self,GAsyncResult *result,GError **error); gboolean evd_connection_pool_has_free_connections (EvdConnectionPool *self); EvdConnectionPool * evd_connection_pool_new (const gchar *address,GType connection_type); gboolean evd_connection_pool_recycle (EvdConnectionPool *self,EvdConnection *conn);
struct EvdConnectionPoolClass {
EvdIoStreamGroupClass parent_class;
/* padding for future expansion */
void (* _padding_0_) (void);
void (* _padding_1_) (void);
void (* _padding_2_) (void);
void (* _padding_3_) (void);
void (* _padding_4_) (void);
void (* _padding_5_) (void);
void (* _padding_6_) (void);
void (* _padding_7_) (void);
};
void evd_connection_pool_get_connection (EvdConnectionPool *self,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
EvdConnection * evd_connection_pool_get_connection_finish (EvdConnectionPool *self,GAsyncResult *result,GError **error);
Returns : |
. [transfer full] |
gboolean evd_connection_pool_has_free_connections
(EvdConnectionPool *self);
EvdConnectionPool * evd_connection_pool_new (const gchar *address,GType connection_type);
gboolean evd_connection_pool_recycle (EvdConnectionPool *self,EvdConnection *conn);
"address" property"address" gchar* : Read / Write
The target socket address to connect to.
Default value: NULL
"connection-type" property"connection-type" GType* : Read / Write / Construct Only
The GType of the connections handled by the pool.
Allowed values: EvdConnection