globus_gass_transfer_data(3) | globus_gass_transfer | globus_gass_transfer_data(3) |
globus_gass_transfer_data - Sending and Receiving Data.
typedef void(* globus_gass_transfer_bytes_callback_t) (void
*arg, globus_gass_transfer_request_t request, globus_byte_t *bytes,
globus_size_t length, globus_bool_t last_data)
int globus_gass_transfer_send_bytes
(globus_gass_transfer_request_t request, globus_byte_t *bytes,
globus_size_t send_length, globus_bool_t last_data,
globus_gass_transfer_bytes_callback_t callback, void *user_arg)
int globus_gass_transfer_receive_bytes
(globus_gass_transfer_request_t request, globus_byte_t *bytes,
globus_size_t max_length, globus_size_t wait_for_length,
globus_gass_transfer_bytes_callback_t callback, void *user_arg)
Sending and Receiving Data.
Byte send or receive callback function.
Parameters:
See also:
Receive a byte array associated with a request handle.
This function receives a block of data from a server or client as part of the processing for a request. Multiple data blocks may be registered with the GASS transfer library at once.
When processing a server request, this function may only be used in conjunction with 'put' or 'append' requests. The user must call globus_gass_transfer_authorize() before calling this function.
When processing a client request, this function may only be used in conjunction with 'get' requests. This function may not be called before either the callback function has been invoked, or the blocking globus_gass_tranfser_put() or globus_gass_transfer_append() function has returned.
Parameters:
Return values:
Send a byte array associated with a request handle.
This function sends a block of data to a server or client as part of the processing for a request. Multiple data blocks may be registered with the GASS transfer library at once.
When processing a server request, this function may only be used in conjunction with 'get' requests. The user must call globus_gass_transfer_authorize() before calling this function.
When processing a client request, this function may only be used in conjunction with 'put' or 'append' requests. This function may not be called before either the callback function has been invoked, or the blocking globus_gass_tranfser_put() or globus_gass_transfer_append() function has returned.
Parameters:
Return values:
Generated automatically by Doxygen for globus_gass_transfer from the source code.
Wed Feb 27 2019 | Version 9.1 |