Link management class
![]() | CAVERN_linkBlocking_t Used to set either blocking or non-blocking remote request.
| ||||
![]() | CAVERN_linkEvent_t Trigger event types for links.
| ||||
![]() | CAVERN_requestType_t Remote request types.
| ||||
![]() | status_t Status codes returned from CAVERN_irbLink_c member functions. |
![]() | commitRemote (status_t *status) Tell the remote IRB to commit the remote key's data to persistent data store |
![]() | requestRemote (CAVERN_requestType_t requestType, status_t *status, CAVERN_irbLink_c::CAVERN_linkBlocking_t blocking = CAVERN_irbLink_c::NON_BLOCKING, int timeOutTime = 30) Request the data from a remote source over a specific link |
![]() | trigger (void (*callback)(CAVERN_irbLink_c::CAVERN_linkEvent_t event, CAVERN_irbLink_c *thisLink, CAVERN_irbLink_c::status_t status, void* userData), void* userData) Set a user-specified callback to be called when an event occurs |
![]() | ~CAVERN_irbLink_c () This destructor will also unlink the link. |
![]() | CAVERN_linkBlocking_t Used to set either blocking or non-blocking remote request.
| ||||
![]() | CAVERN_linkEvent_t Trigger event types for links.
| ||||
![]() | CAVERN_requestType_t Remote request types.
| ||||
![]() | status_t Status codes returned from CAVERN_irbLink_c member functions. |
Link management class. This class allows you to manage a link. It allows you to commit the data in a remote key to a persistent data-store. It allows you to explicitly request data from a remote key rather than having to wait for data to be automatically propagated to you. More features will be added with time.
void callback(CAVERN_irbLink_c::CAVERN_linkEvent_t event, CAVERN_irbLink_c *thisLink, CAVERN_irbLink_c::status_t status, void* userData);
This callback may receive for e.g. a REMOTE_REQUEST event with a status of TIMED_OUT.
void commitRemote(status_t *status)
void requestRemote(CAVERN_requestType_t requestType, status_t *status, CAVERN_irbLink_c::CAVERN_linkBlocking_t blocking = CAVERN_irbLink_c::NON_BLOCKING, int timeOutTime = 30)
blocking - is used to make this request a blocking or non-blocking request.
If non-blocking then this function will return immediately with either
a status of OK or FAILED that reflects the status of calling
this request (ie not the status of the result of the completed
request).
The callback will actually reveal the true status of the completed request.
If blocking then this function waits till remote status information arrives
and remote data is completely downloaded (whichever occurs first). The
status in this case would be the status of the completed request- i.e.
the status the callback would get.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de