accept(self,
callback,
arg)
Accept incoming connections, Nonblocking
-
- Parameters:
callback -
- a Python function whose signature is func(arg, server,
handle, errTuple): where arg is the user arg, server is a
SWIG'ized globus_xio_server_t pointer, target is a SWIG'ized
globus_xio_handle_t pointer, and errTuple is a tuple containing
(0,None) if there are no errors or (error_code, error_message) if
there is an error
arg -
- a user argument that will be passed to the callback
function
- Returns:
-
None
- Raises:
XioServerException -
A XioServerException is raised if
there is a problem accepting a connection
|