Top | ![]() |
![]() |
![]() |
![]() |
guint | infc_request_get_seq () |
const gchar * | infc_request_get_name () |
void | infc_request_failed () |
GObject ╰── InfcRequest ├── InfcExploreRequest ├── InfcNodeRequest ╰── InfcUserRequest
A InfcRequest represents a request that was sent to the server. It can be used to get information related to that request and to be notified when the request fails or finishes.
InfcRequest is the base class for other requests and only has the “failed” signal. Use signals from specific requests such as InfcNodeRequest to get further notification. Every request has a name and a sequence number. The sequence number is used in the server reply to refer to a specific request and normally of no use for developers using the infinote API.
guint
infc_request_get_seq (InfcRequest *request
);
Returns the sequence identifier for this request.
const gchar *
infc_request_get_name (InfcRequest *request
);
Returns the name of the request.
void infc_request_failed (InfcRequest *request
,GError *error
);
Emits the "failed" signal on request
.
“name”
property “name” gchar *
Name of the request.
Flags: Read / Write / Construct Only
Default value: NULL
“failed”
signalvoid user_function (InfcRequest *request, gpointer error, gpointer user_data)
Emitted when the request could not be processed on the server side.
error
holds additional information on why the request failed.
request |
The failed InfcRequest. |
|
error |
A pointer to a GError object with details on the error. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last