00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_NEXT_MSG_BEAN_H
00018 #define SANDESHA2_NEXT_MSG_BEAN_H
00019
00020 #include <axutil_utils_defines.h>
00021 #include <axutil_utils_defines.h>
00022 #include <axutil_env.h>
00023 #include <sandesha2_rm_bean.h>
00024
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029
00030 typedef struct sandesha2_next_msg_bean sandesha2_next_msg_bean_t;
00031
00032 struct sandesha2_transaction;
00033
00034 AXIS2_DECLARE_DATA struct sandesha2_next_msg_bean
00035 {
00036 sandesha2_rm_bean_t rm_bean;
00037 };
00038
00039
00040
00041 AXIS2_EXTERN sandesha2_next_msg_bean_t* AXIS2_CALL
00042 sandesha2_next_msg_bean_create(
00043 const axutil_env_t *env);
00044
00045 AXIS2_EXTERN sandesha2_next_msg_bean_t* AXIS2_CALL
00046 sandesha2_next_msg_bean_create_with_data(
00047 const axutil_env_t *env,
00048 axis2_char_t *seq_id,
00049 long msg_no);
00050
00051 void AXIS2_CALL
00052 sandesha2_next_msg_bean_free (
00053 sandesha2_rm_bean_t *next_msg_bean,
00054 const axutil_env_t *env);
00055
00056 struct sandesha2_rm_bean * AXIS2_CALL
00057 sandesha2_next_msg_bean_get_base(
00058 sandesha2_rm_bean_t* next_msg,
00059 const axutil_env_t *env);
00060
00061 void AXIS2_CALL
00062 sandesha2_next_msg_bean_set_base (
00063 sandesha2_next_msg_bean_t *next_msg,
00064 const axutil_env_t *env,
00065 struct sandesha2_rm_bean* rm_bean);
00066
00067 axis2_char_t* AXIS2_CALL
00068 sandesha2_next_msg_bean_get_seq_id(
00069 sandesha2_rm_bean_t *next_msg_bean,
00070 const axutil_env_t *env);
00071
00072 void AXIS2_CALL
00073 sandesha2_next_msg_bean_set_seq_id(
00074 sandesha2_next_msg_bean_t *next_msg_bean,
00075 const axutil_env_t *env,
00076 axis2_char_t *seq_id);
00077
00078 axis2_char_t* AXIS2_CALL
00079 sandesha2_next_msg_bean_get_internal_seq_id(
00080 sandesha2_rm_bean_t *next_msg_bean,
00081 const axutil_env_t *env);
00082
00083 void AXIS2_CALL
00084 sandesha2_next_msg_bean_set_internal_seq_id(
00085 sandesha2_next_msg_bean_t *next_msg_bean,
00086 const axutil_env_t *env,
00087 axis2_char_t *internal_seq_id);
00088
00089 long AXIS2_CALL
00090 sandesha2_next_msg_bean_get_next_msg_no_to_process(
00091 sandesha2_next_msg_bean_t *next_msg_bean,
00092 const axutil_env_t *env);
00093
00094 void AXIS2_CALL
00095 sandesha2_next_msg_bean_set_next_msg_no_to_process(
00096 sandesha2_next_msg_bean_t *next_msg_bean,
00097 const axutil_env_t *env, long next_msg_no);
00098
00099 axis2_bool_t AXIS2_CALL
00100 sandesha2_next_msg_bean_is_polling_mode(
00101 sandesha2_next_msg_bean_t *next_msg_bean,
00102 const axutil_env_t *env);
00103
00104 void AXIS2_CALL
00105 sandesha2_next_msg_bean_set_polling_mode(
00106 sandesha2_next_msg_bean_t *next_msg_bean,
00107 const axutil_env_t *env,
00108 axis2_bool_t polling_mode);
00109
00110 axis2_char_t *AXIS2_CALL
00111 sandesha2_next_msg_bean_get_ref_msg_key(
00112 sandesha2_next_msg_bean_t *next_msg_bean,
00113 const axutil_env_t *env);
00114
00115 void AXIS2_CALL
00116 sandesha2_next_msg_bean_set_ref_msg_key(
00117 sandesha2_next_msg_bean_t *next_msg_bean,
00118 const axutil_env_t *env,
00119 axis2_char_t *ref_msg_key);
00120
00121 void AXIS2_CALL
00122 sandesha2_next_msg_bean_set_id(
00123 sandesha2_rm_bean_t *next_msg_bean,
00124 const axutil_env_t *env,
00125 long id);
00126
00127 long AXIS2_CALL
00128 sandesha2_next_msg_bean_get_id(
00129 sandesha2_rm_bean_t *next_msg_bean,
00130 const axutil_env_t *env);
00131
00132 void AXIS2_CALL
00133 sandesha2_next_msg_bean_set_transaction(
00134 sandesha2_rm_bean_t *next_msg_bean,
00135 const axutil_env_t *env,
00136 struct sandesha2_transaction *transaction);
00137
00138 struct sandesha2_transaction *AXIS2_CALL
00139 sandesha2_next_msg_bean_get_transaction(
00140 sandesha2_rm_bean_t *next_msg_bean,
00141 const axutil_env_t *env);
00142
00143 #ifdef __cplusplus
00144 }
00145
00146 #endif
00147
00148 #endif