Collaboration diagram for Restart Marker Plugin:
![]() |
During a transfer, every marker received will result in the user's 'marker' callback being called with the new restart marker that can be stored. If the application were to prematurely terminate (while transferring), the user (after restarting the application) could pass this stored marker back to the plugin via the 'begin' callback to force the transfer to be restarted from the last marked point.
|
Module descriptor.
|
|
Transfer begin callback This callback is called when a get, put, or third party transfer is started. The intended use for this callback is for the user to use the transfer urls to locate a restart marker in some persistent storage. If one is found, it should be copied into 'user_saved_marker' and the callback should return GLOBUS_TRUE. This will cause the transfer to be restarted using that restart marker. If one is not found, return GLOBUS_FALSE to indicate that the transfer should proceed from the beginning. In any case, this is also an opportunity for the user to set up any storage in anticipation of restart markers for this transfer.
|
|
Restart marker received callback This callback will be called every time a restart marker is available. To receive restart markers in a 'put' or 'third_party_transfer', the transfer must be in Extended Block mode. 'get' transfers will have their markers generated internally. Markers generated internally will be 'sent' at most, once per second. The intended use for this callback is to allow the user to store this marker (most likely in place of any previous marker) in a format that the 'begin_cb' can parse and pass back.
|
|
Transfer complete callback This callback will be called upon transfer completion (successful or otherwise).
|
|
Initialize a restart marker plugin This function initializes a restart marker plugin. Any params except for the plugin may be GLOBUS_NULL
|
|
Destroy restart marker plugin Frees up memory associated with plugin.
|
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org