send_bytes(self,
request,
buffer,
eof,
callback,
arg)
After authorizing a request the server calls send bytes which sends
the data in the buffer object
-
- Parameters:
request -
a server-side request if this is in conjunction with a get
request, if in conjunction with a put or append this should be a
client-side request
buffer -
A pyGlobus.util.Buffer.Buffer object.. This hides the internal
globus_byte_t data buffer.
eof -
true if this is the last data to be sent, false otherwise
callback -
is a function that is called after the data in the buffer has
been sent
arg -
a user supplied argument to the callback function
- Returns:
-
A SWIG'ized pointer to the callback handle is returned. After
the callback completes, this may be free'd with the free_callback
method, or it will be free'd when the instance is destroyed.
- Raises:
TransferException -
A TransferException if the request
object does not meet the specifications above or if there was a
problem sending the data
|