00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_POLLING_MGR_H
00018 #define SANDESHA2_POLLING_MGR_H
00019
00028 #include <axutil_allocator.h>
00029 #include <axutil_env.h>
00030 #include <axutil_error.h>
00031 #include <axutil_string.h>
00032 #include <axutil_utils.h>
00033 #include <axis2_conf_ctx.h>
00034
00035 #ifdef __cplusplus
00036 extern "C"
00037 {
00038 #endif
00039
00040 typedef struct sandesha2_polling_mgr_t sandesha2_polling_mgr_t;
00041
00042 AXIS2_EXTERN sandesha2_polling_mgr_t * AXIS2_CALL
00043 sandesha2_polling_mgr_create(
00044 const axutil_env_t *env);
00045
00053 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00054 sandesha2_polling_mgr_free_void_arg(
00055 void *polling_mgr,
00056 const axutil_env_t *env);
00057
00058 axis2_status_t AXIS2_CALL
00059 sandesha2_polling_mgr_free(
00060 sandesha2_polling_mgr_t *polling_mgr,
00061 const axutil_env_t *env);
00062
00063 axis2_status_t AXIS2_CALL
00064 sandesha2_polling_mgr_stop_polling (
00065 sandesha2_polling_mgr_t *polling_mgr,
00066 const axutil_env_t *env);
00067
00068 axis2_status_t AXIS2_CALL
00069 sandesha2_polling_mgr_start (
00070 sandesha2_polling_mgr_t *polling_mgr,
00071 const axutil_env_t *env,
00072 axis2_conf_ctx_t *conf_ctx,
00073 const axis2_char_t *internal_seq_id);
00074
00075 void AXIS2_CALL
00076 sandesha2_polling_mgr_set_poll(
00077 sandesha2_polling_mgr_t *polling_mgr,
00078 const axutil_env_t *env,
00079 axis2_bool_t poll);
00080
00081 axis2_bool_t AXIS2_CALL
00082 sandesha2_polling_mgr_is_poll(
00083 sandesha2_polling_mgr_t *polling_mgr,
00084 const axutil_env_t *env);
00085
00086 void AXIS2_CALL
00087 sandesha2_polling_mgr_schedule_polling_request(
00088 sandesha2_polling_mgr_t *polling_mgr,
00089 const axutil_env_t *env,
00090 const axis2_char_t *internal_seq_id);
00091
00093 #ifdef __cplusplus
00094 }
00095 #endif
00096 #endif