globus_net_manager_context(3) | globus_net_manager | globus_net_manager_context(3) |
globus_net_manager_context - Context
- Net Manager Context Management Functions.
typedef struct globus_i_net_manager_context_s *
globus_net_manager_context_t
Net Manager Context.
void globus_net_manager_context_destroy
(globus_net_manager_context_t context)
Destroy Context. globus_result_t globus_net_manager_context_end_listen
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *local_contact, const
globus_net_manager_attr_t *attr_array)
Call Context End Listen. globus_result_t
globus_net_manager_context_init (globus_net_manager_context_t
*context, const globus_net_manager_attr_t *attrs)
Initialize Context. globus_result_t
globus_net_manager_context_post_accept
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *local_contact, const char *remote_contact,
const globus_net_manager_attr_t *attr_array,
globus_net_manager_attr_t **attr_array_out)
Call Context Post Accept. globus_result_t
globus_net_manager_context_post_close
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *local_contact, const char *remote_contact,
const globus_net_manager_attr_t *attr_array)
Call Context Post Close. globus_result_t
globus_net_manager_context_post_connect
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *local_contact, const char *remote_contact,
const globus_net_manager_attr_t *attr_array,
globus_net_manager_attr_t **attr_array_out)
Call Context Post Connect. globus_result_t
globus_net_manager_context_post_listen
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *local_contact, const
globus_net_manager_attr_t *attr_array, char **local_contact_out,
globus_net_manager_attr_t **attr_array_out)
Call Context Post Listen. globus_result_t
globus_net_manager_context_pre_accept
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *local_contact, const
globus_net_manager_attr_t *attr_array,
globus_net_manager_attr_t **attr_array_out)
Call Context Pre Accept. globus_result_t
globus_net_manager_context_pre_close
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *local_contact, const char *remote_contact,
const globus_net_manager_attr_t *attr_array)
Call Context Pre Close. globus_result_t
globus_net_manager_context_pre_connect
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const char *remote_contact, const
globus_net_manager_attr_t *attr_array, char **remote_contact_out,
globus_net_manager_attr_t **attr_array_out)
Call Context Pre Connect. globus_result_t
globus_net_manager_context_pre_listen
(globus_net_manager_context_t context, const char *task_id, const
char *transport, const globus_net_manager_attr_t *attr_array,
globus_net_manager_attr_t **attr_array_out)
Call Context Pre Listen.
Net Manager Context Management Functions.
The Net Manager Context manages a collection of network manager plug-ins which will be called when network events occur.
Initialize the context by calling globus_net_manager_context_init(). This processes an array of attributes. The 'scope' member of of attributes indicate the name of a network manager to associate with the context. The (name, value) tuples of the attributes are added to the attributes passed to all of that particular network manager's implementation functions.
Once the network manager context is created, pass it to the per-operation invocation functions to trigger all of the manager callouts associated with the context.
When the network manager context is no longer needed, destroy it by calling globus_net_manager_context_destroy().
Net Manager Context. A structure of this type is used to thread attributes through the set of configured net manager modules and invoke their functions in configuration order.
Destroy Context. This functions destroys context.
Parameters
Call Context End Listen. Call the chain of end_listen() functions in a context with the given task_id, transport, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Initialize Context. This functions initializes context with the attribute list attrs.
Parameters
Returns
Call Context Post Accept. Call the chain of post_accept() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called. The attributes are chained through all the calls, with any changed values returned from a manager passed to subsequent managers in the chain.
Parameters
Returns
Call Context Post Close. Call the chain of post_close() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Call Context Post Connect. Call the chain of post_connect() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Call Context Post Listen. Call the chain of post_listen() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Call Context Pre Accept. Call the chain of pre_accept() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Call Context Pre Close. Call the chain of pre_close() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Call Context Pre Connect. Call the chain of pre_connect() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Call Context Pre Listen. Call the chain of pre_listen() functions in a context with the given task_id, transport, contact information, and attributes. If any manager in the context returns an error, the subsequent managers will not be called.
Parameters
Returns
Generated automatically by Doxygen for globus_net_manager from the source code.
Tue Jul 5 2022 | Version 1.7 |