Method Summary |
|
__init__ (self,
scheme)
|
|
__del__ (self)
frees the memory associated with the callaback handles |
|
authorize (self,
request,
length)
After the server has accepted a request it can authorize the request
if it wants the transfer to proceed |
|
deny (self,
request,
reason,
message)
After the server has accepted the request it can deny the request if
it does not want the transfer to proceed. |
|
get_base_url (self)
Calls the listener's get base url function |
|
register_accept (self,
attr,
callback,
arg)
Has the server accept an incoming client request This function should
be called after the callback for register_listen has been called. |
|
register_listen (self,
callback,
arg)
Has the server listen for incoming client request |
Inherited from TransferData |
|
free_callback (self,
cbHandle)
Free a callback. |
|
receive_bytes (self,
request,
buffer,
wait_for_amount,
callback,
arg)
Return a SWIG'ized pointer to the callback handle is returned. |
|
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 |