00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_SENDER_WORKER_H
00018 #define SANDESHA2_SENDER_WORKER_H
00019
00025 #include <axutil_allocator.h>
00026 #include <axutil_env.h>
00027 #include <axutil_error.h>
00028 #include <axutil_string.h>
00029 #include <axutil_utils.h>
00030 #include <axis2_conf_ctx.h>
00031 #include <sandesha2_storage_mgr.h>
00032
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037
00038 struct sandesha2_seq_property_mgr;
00039 struct sandesha2_create_seq_mgr;
00040 struct sandesha2_sender_mgr;
00041 typedef struct sandesha2_sender_worker_t sandesha2_sender_worker_t;
00042
00043 AXIS2_EXTERN sandesha2_sender_worker_t* AXIS2_CALL
00044 sandesha2_sender_worker_create(
00045 const axutil_env_t *env,
00046 axis2_conf_ctx_t *conf_ctx,
00047 axis2_char_t *msg_id);
00048
00049 AXIS2_EXTERN sandesha2_sender_worker_t* AXIS2_CALL
00050 sandesha2_sender_worker_create_with_msg_ctx(
00051 const axutil_env_t *env,
00052 axis2_conf_ctx_t *conf_ctx,
00053 axis2_char_t *msg_id,
00054 axis2_msg_ctx_t *msg_ctx);
00055
00063 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00064 sandesha2_sender_worker_free_void_arg(
00065 void *sender_worker,
00066 const axutil_env_t *env);
00067
00068 axis2_status_t AXIS2_CALL
00069 sandesha2_sender_worker_free(
00070 sandesha2_sender_worker_t *sender_worker,
00071 const axutil_env_t *env);
00072
00073 axis2_status_t
00074 sandesha2_sender_worker_send(
00075 const axutil_env_t *env,
00076 axis2_conf_ctx_t *conf_ctx,
00077 axis2_char_t *msg_id,
00078 axis2_bool_t persistent_msg_ctx,
00079 sandesha2_storage_mgr_t *storage_mgr,
00080 struct sandesha2_seq_property_mgr *seq_prop_mgr,
00081 struct sandesha2_create_seq_mgr *create_seq_mgr,
00082 struct sandesha2_sender_mgr *sender_mgr);
00083
00084 void sandesha2_sender_worker_set_transport_out(
00085 sandesha2_sender_worker_t *sender_worker,
00086 const axutil_env_t *env,
00087 axis2_transport_out_desc_t *transport_out);
00088
00090 #ifdef __cplusplus
00091 }
00092 #endif
00093 #endif