Tizen Native API  3.0
Pending

Functions

void eldbus_pending_data_set (Eldbus_Pending *pending, const char *key, const void *data)
 Set data to a Eldbus_Pending object.
void * eldbus_pending_data_get (const Eldbus_Pending *pending, const char *key)
 Get the data set to a Eldbus_Pending object.
void * eldbus_pending_data_del (Eldbus_Pending *pending, const char *key)
 Delete the data set to a Eldbus_Pending object.
void eldbus_pending_cancel (Eldbus_Pending *pending)
 Cancel the pending message.
const char * eldbus_pending_destination_get (const Eldbus_Pending *pending)
 Get the destination of the pending message.
const char * eldbus_pending_path_get (const Eldbus_Pending *pending)
 Get the path of the pending message.
const char * eldbus_pending_interface_get (const Eldbus_Pending *pending)
 Get the interface of the pending message.
const char * eldbus_pending_method_get (const Eldbus_Pending *pending)
 Get the method of the pending message.
void eldbus_pending_free_cb_add (Eldbus_Pending *pending, Eldbus_Free_Cb cb, const void *data)
 Add a callback function to be called when pending will be freed.
void eldbus_pending_free_cb_del (Eldbus_Pending *pending, Eldbus_Free_Cb cb, const void *data)
 Remove callback registered in eldbus_pending_free_cb_add().

Function Documentation

Cancel the pending message.

Parameters:
pendingThe Eldbus_Pending object corresponding to the pending message.
Since :
3.0
void* eldbus_pending_data_del ( Eldbus_Pending pending,
const char *  key 
)

Delete the data set to a Eldbus_Pending object.

Parameters:
pendingThe Eldbus_Pending object on which the data is set.
keyA string corresponding to the key associated with the data.
Since :
3.0
void* eldbus_pending_data_get ( const Eldbus_Pending pending,
const char *  key 
)

Get the data set to a Eldbus_Pending object.

Parameters:
pendingThe Eldbus_Pending object on which the data is set.
keyA string corresponding to the key associated with the data.
Returns:
The data set to the Eldbus_Pending object.
Since :
3.0
void eldbus_pending_data_set ( Eldbus_Pending pending,
const char *  key,
const void *  data 
)

Set data to a Eldbus_Pending object.

Parameters:
pendingThe Eldbus_Pending object on which the data is set.
keyA string corresponding to the key associated with the data.
dataThe data to set to the Eldbus_Pending object.
Since :
3.0
const char* eldbus_pending_destination_get ( const Eldbus_Pending pending)

Get the destination of the pending message.

Parameters:
pendingThe Eldbus_Pending object.
Returns:
A string corresponding to the destination of the message.
Since :
3.0
void eldbus_pending_free_cb_add ( Eldbus_Pending pending,
Eldbus_Free_Cb  cb,
const void *  data 
)

Add a callback function to be called when pending will be freed.

Parameters:
pendingThe Eldbus_Pending object on which the callback is registered.
cbThe callback to register.
dataThe data to pass to the callback.
Since :
3.0
void eldbus_pending_free_cb_del ( Eldbus_Pending pending,
Eldbus_Free_Cb  cb,
const void *  data 
)

Remove callback registered in eldbus_pending_free_cb_add().

Parameters:
pendingThe Eldbus_Pending object on which the callback was registered.
cbThe callback that was registered.
dataThe data passed to the callback.
Since :
3.0
const char* eldbus_pending_interface_get ( const Eldbus_Pending pending)

Get the interface of the pending message.

Parameters:
pendingThe Eldbus_Pending object.
Returns:
A string corresponding to the interface of the message.
Since :
3.0
const char* eldbus_pending_method_get ( const Eldbus_Pending pending)

Get the method of the pending message.

Parameters:
pendingThe Eldbus_Pending object.
Returns:
A string corresponding to the method of the message.
Since :
3.0
const char* eldbus_pending_path_get ( const Eldbus_Pending pending)

Get the path of the pending message.

Parameters:
pendingThe Eldbus_Pending object.
Returns:
A string corresponding to the path of the message.
Since :
3.0