sandesha2_polling_mgr.h File Reference

Sandesha Polling Manager Interface This class is responsible for sending MakeConnection requests. This is a separate thread that keeps running. Will do MakeConnection based on the request queue or randomly. More...

#include <axutil_allocator.h>
#include <axutil_env.h>
#include <axutil_error.h>
#include <axutil_string.h>
#include <axutil_utils.h>
#include <axis2_conf_ctx.h>

Go to the source code of this file.

Typedefs

typedef struct
sandesha2_polling_mgr_t 
sandesha2_polling_mgr_t

Functions

AXIS2_EXTERN
sandesha2_polling_mgr_t * 
sandesha2_polling_mgr_create (const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t sandesha2_polling_mgr_free_void_arg (void *polling_mgr, const axutil_env_t *env)
axis2_status_t sandesha2_polling_mgr_free (sandesha2_polling_mgr_t *polling_mgr, const axutil_env_t *env)
axis2_status_t sandesha2_polling_mgr_stop_polling (sandesha2_polling_mgr_t *polling_mgr, const axutil_env_t *env)
axis2_status_t sandesha2_polling_mgr_start (sandesha2_polling_mgr_t *polling_mgr, const axutil_env_t *env, axis2_conf_ctx_t *conf_ctx, const axis2_char_t *internal_seq_id)
void sandesha2_polling_mgr_set_poll (sandesha2_polling_mgr_t *polling_mgr, const axutil_env_t *env, axis2_bool_t poll)
axis2_bool_t sandesha2_polling_mgr_is_poll (sandesha2_polling_mgr_t *polling_mgr, const axutil_env_t *env)
void sandesha2_polling_mgr_schedule_polling_request (sandesha2_polling_mgr_t *polling_mgr, const axutil_env_t *env, const axis2_char_t *internal_seq_id)


Detailed Description

Sandesha Polling Manager Interface This class is responsible for sending MakeConnection requests. This is a separate thread that keeps running. Will do MakeConnection based on the request queue or randomly.


Function Documentation

AXIS2_EXTERN axis2_status_t sandesha2_polling_mgr_free_void_arg ( void *  polling_mgr,
const axutil_env_t *  env 
)

Frees the polling_mgr given as a void pointer. This method would cast the void parameter to an polling_mgr pointer and then call free method.

Parameters:
polling_mgr pointer to polling_mgr as a void pointer
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


Generated on Fri May 23 15:50:26 2008 for Sandesha2/C by  doxygen 1.5.5