| libinfinity-0.5 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties | Signals | ||||
InfdXmlServer; struct InfdXmlServerIface; enum InfdXmlServerStatus; void infd_xml_server_close (InfdXmlServer *server); void infd_xml_server_new_connection (InfdXmlServer *server,InfXmlConnection *connection);
struct InfdXmlServerIface {
GTypeInterface parent;
/* Virtual Table */
void (*close)(InfdXmlServer* server);
/* Signals */
void (*new_connection)(InfdXmlServer* server,
InfXmlConnection* connection);
};
typedef enum {
INFD_XML_SERVER_CLOSED,
INFD_XML_SERVER_CLOSING,
INFD_XML_SERVER_OPEN,
INFD_XML_SERVER_OPENING
} InfdXmlServerStatus;
void infd_xml_server_close (InfdXmlServer *server);
Closes server.
|
A InfdXmlServer. |
void infd_xml_server_new_connection (InfdXmlServer *server,InfXmlConnection *connection);
Emits the "new-connection" signal on server.
|
A InfdXmlServer. |
|
A InfXmlConnection. |
"status" property"status" InfdXmlServerStatus : Read
The status of the server.
Default value: INFD_XML_SERVER_CLOSED
"new-connection" signalvoid user_function (InfdXmlServer *infdxmlserver,
InfXmlConnection *arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |