| libinfinity-0.3 Reference Manual | ||||
|---|---|---|---|---|
InfdServerPool;
InfdServerPoolClass;
InfdServerPool* infd_server_pool_new (InfdDirectory *directory);
void infd_server_pool_add_server (InfdServerPool *server_pool,
InfdXmlServer *server);
void infd_server_pool_add_local_publisher
(InfdServerPool *server_pool,
InfdXmppServer *server,
InfLocalPublisher *publisher);
InfdServerPool* infd_server_pool_new (InfdDirectory *directory);
Creates a new InfdServerPool.
|
A InfdDirectory to which to add incoming connections. |
Returns : |
A new InfdServerPool. |
void infd_server_pool_add_server (InfdServerPool *server_pool, InfdXmlServer *server);
Adds server to server_pool. The server pool accepts incoming connections
and gives them to its directory which processes incoming requests.
It is your responsibility to open server. It will be automatically removed
from the pool when the server is closed. However, you might pass a closed
server to this function and open it afterwards.
|
A InfdServerPool. |
|
A InfdXmlServer. |
void infd_server_pool_add_local_publisher (InfdServerPool *server_pool, InfdXmppServer *server, InfLocalPublisher *publisher);
|
|
|
|
|
"directory" property"directory" InfdDirectory* : Read / Write / Construct Only
The directory to which to register incoming connections to.