00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef AXIS2_MSG_INFO_HEADERS_H
00018 #define AXIS2_MSG_INFO_HEADERS_H
00019
00025 #include <axis2_defines.h>
00026 #include <axis2_env.h>
00027 #include <axis2_const.h>
00028 #include <axis2_array_list.h>
00029 #include <axis2_endpoint_ref.h>
00030 #include <axis2_any_content_type.h>
00031 #include <axis2_svc_name.h>
00032 #include <axis2_relates_to.h>
00033 #include <axiom_node.h>
00034
00035 #ifdef __cplusplus
00036 extern "C"
00037 {
00038 #endif
00039
00040 struct axis2_msg_info_headers;
00041 struct axis2_msg_info_headers_ops;
00042
00052 AXIS2_DECLARE_DATA typedef struct axis2_msg_info_headers_ops
00053 {
00059 axis2_endpoint_ref_t* (AXIS2_CALL *
00060 get_to)(struct axis2_msg_info_headers *msg_info_headers,
00061 const axis2_env_t *env);
00067 axis2_status_t (AXIS2_CALL *
00068 set_to)(struct axis2_msg_info_headers *msg_info_headers,
00069 const axis2_env_t *env,
00070 axis2_endpoint_ref_t *to);
00076 axis2_endpoint_ref_t* (AXIS2_CALL *
00077 get_from)(struct axis2_msg_info_headers *msg_info_headers,
00078 const axis2_env_t *env);
00084 axis2_status_t (AXIS2_CALL *
00085 set_from)(struct axis2_msg_info_headers *msg_info_headers,
00086 const axis2_env_t *env,
00087 axis2_endpoint_ref_t *from);
00088
00094 axis2_endpoint_ref_t* (AXIS2_CALL *
00095 get_reply_to)(struct axis2_msg_info_headers *msg_info_headers,
00096 const axis2_env_t *env);
00102 axis2_status_t (AXIS2_CALL *
00103 set_reply_to)(struct axis2_msg_info_headers *msg_info_headers,
00104 const axis2_env_t *env,
00105 axis2_endpoint_ref_t *reply_to);
00106
00107 axis2_status_t (AXIS2_CALL *
00108 set_reply_to_none)(struct axis2_msg_info_headers *msg_info_headers,
00109 const axis2_env_t *env, axis2_bool_t none);
00110
00111 axis2_bool_t (AXIS2_CALL *
00112 get_reply_to_none)(struct axis2_msg_info_headers *msg_info_headers,
00113 const axis2_env_t *env);
00114
00115 axis2_status_t (AXIS2_CALL *
00116 set_reply_to_anonymous)(struct axis2_msg_info_headers *msg_info_headers,
00117 const axis2_env_t *env, axis2_bool_t anonymous);
00118
00119 axis2_bool_t (AXIS2_CALL *
00120 get_reply_to_anonymous)(struct axis2_msg_info_headers *msg_info_headers,
00121 const axis2_env_t *env);
00122
00128 axis2_endpoint_ref_t* (AXIS2_CALL *
00129 get_fault_to)(struct axis2_msg_info_headers *msg_info_headers,
00130 const axis2_env_t *env);
00136 axis2_status_t (AXIS2_CALL *
00137 set_fault_to)(struct axis2_msg_info_headers *msg_info_headers,
00138 const axis2_env_t *env,
00139 axis2_endpoint_ref_t *fault_to);
00140
00141 axis2_status_t (AXIS2_CALL *
00142 set_fault_to_none)(struct axis2_msg_info_headers *msg_info_headers,
00143 const axis2_env_t *env, axis2_bool_t none);
00144
00145 axis2_bool_t (AXIS2_CALL *
00146 get_fault_to_none)(struct axis2_msg_info_headers *msg_info_headers,
00147 const axis2_env_t *env);
00148
00149 axis2_status_t (AXIS2_CALL *
00150 set_fault_to_anonymous)(struct axis2_msg_info_headers *msg_info_headers,
00151 const axis2_env_t *env, axis2_bool_t anonymous);
00152
00153 axis2_bool_t (AXIS2_CALL *
00154 get_fault_to_anonymous)(struct axis2_msg_info_headers *msg_info_headers,
00155 const axis2_env_t *env);
00156
00162 axis2_char_t* (AXIS2_CALL *
00163 get_action)(struct axis2_msg_info_headers *msg_info_headers,
00164 const axis2_env_t *env);
00170 axis2_status_t (AXIS2_CALL *
00171 set_action)(struct axis2_msg_info_headers *msg_info_headers,
00172 const axis2_env_t *env,
00173 const axis2_char_t *action);
00179 axis2_char_t* (AXIS2_CALL *
00180 get_message_id)(struct axis2_msg_info_headers *msg_info_headers,
00181 const axis2_env_t *env);
00187 axis2_status_t (AXIS2_CALL *
00188 set_message_id)(struct axis2_msg_info_headers *msg_info_headers,
00189 const axis2_env_t *env,
00190 axis2_char_t *message_id);
00196 axis2_relates_to_t* (AXIS2_CALL *
00197 get_relates_to)(struct axis2_msg_info_headers *msg_info_headers,
00198 const axis2_env_t *env);
00204 axis2_status_t (AXIS2_CALL *
00205 set_relates_to)(struct axis2_msg_info_headers *msg_info_headers,
00206 const axis2_env_t *env,
00207 axis2_relates_to_t *relates_to);
00208
00209
00210 axis2_array_list_t* (AXIS2_CALL *
00211 get_ref_params)(struct axis2_msg_info_headers *msg_info_headers,
00212 const axis2_env_t *env);
00213
00214
00215 axis2_status_t (AXIS2_CALL *
00216 add_ref_param)(struct axis2_msg_info_headers *msg_info_headers,
00217 const axis2_env_t *env,
00218 axiom_node_t *ref_param);
00219
00220 axis2_status_t (AXIS2_CALL *
00221 free)(struct axis2_msg_info_headers *msg_info_headers,
00222 const axis2_env_t *env);
00223
00224 } axis2_msg_info_headers_ops_t;
00225
00229 typedef struct axis2_msg_info_headers
00230 {
00232 axis2_msg_info_headers_ops_t *ops;
00233 } axis2_msg_info_headers_t;
00234
00235
00242 AXIS2_EXTERN axis2_msg_info_headers_t* AXIS2_CALL
00243 axis2_msg_info_headers_create(const axis2_env_t *env,
00244 axis2_endpoint_ref_t *to,
00245 const axis2_char_t *action);
00246
00247
00248 #define AXIS2_MSG_INFO_HEADERS_GET_TO(msg_info_headers, env) \
00249 ((msg_info_headers)->ops->get_to(msg_info_headers, env))
00250
00251 #define AXIS2_MSG_INFO_HEADERS_SET_TO(msg_info_headers, env, to) \
00252 ((msg_info_headers)->ops->set_to(msg_info_headers, env, to))
00253
00254 #define AXIS2_MSG_INFO_HEADERS_GET_FROM(msg_info_headers, env) \
00255 ((msg_info_headers)->ops->get_from(msg_info_headers, env))
00256
00257 #define AXIS2_MSG_INFO_HEADERS_SET_FROM(msg_info_headers, env, from) \
00258 ((msg_info_headers)->ops->set_from(msg_info_headers, env, from))
00259
00260 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO(msg_info_headers, env) \
00261 ((msg_info_headers)->ops->get_reply_to(msg_info_headers, env))
00262
00263 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO(msg_info_headers, env, reply_to) \
00264 ((msg_info_headers)->ops->set_reply_to(msg_info_headers, env, reply_to))
00265
00266 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO_NONE(msg_info_headers, env, none) \
00267 ((msg_info_headers)->ops->set_reply_to_none(msg_info_headers, env, none))
00268
00269 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_NONE(msg_info_headers, env) \
00270 ((msg_info_headers)->ops->get_reply_to_none(msg_info_headers, env))
00271
00272 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO_ANONYMOUS(msg_info_headers, env, anonymous) \
00273 ((msg_info_headers)->ops->set_reply_to_anonymous(msg_info_headers, env, anonymous))
00274
00275 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_ANONYMOUS(msg_info_headers, env) \
00276 ((msg_info_headers)->ops->get_reply_to_anonymous(msg_info_headers, env))
00277
00278 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO(msg_info_headers, env) \
00279 ((msg_info_headers)->ops->get_fault_to(msg_info_headers, env))
00280
00281 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO(msg_info_headers, env, fault_to) \
00282 ((msg_info_headers)->ops->set_fault_to(msg_info_headers, env, fault_to))
00283
00284 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO_NONE(msg_info_headers, env, none) \
00285 ((msg_info_headers)->ops->set_fault_to_none(msg_info_headers, env, none))
00286
00287 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_NONE(msg_info_headers, env) \
00288 ((msg_info_headers)->ops->get_fault_to_none(msg_info_headers, env))
00289
00290 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO_ANONYMOUS(msg_info_headers, env, anonymous) \
00291 ((msg_info_headers)->ops->set_fault_to_anonymous(msg_info_headers, env, anonymous))
00292
00293 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_ANONYMOUS(msg_info_headers, env) \
00294 ((msg_info_headers)->ops->get_fault_to_anonymous(msg_info_headers, env))
00295
00296 #define AXIS2_MSG_INFO_HEADERS_GET_ACTION(msg_info_headers, env) \
00297 ((msg_info_headers)->ops->get_action(msg_info_headers, env))
00298
00299 #define AXIS2_MSG_INFO_HEADERS_SET_ACTION(msg_info_headers, env, action) \
00300 ((msg_info_headers)->ops->set_action(msg_info_headers, env, action))
00301
00302 #define AXIS2_MSG_INFO_HEADERS_GET_MESSAGE_ID(msg_info_headers, env) \
00303 ((msg_info_headers)->ops->get_message_id(msg_info_headers, env))
00304
00305 #define AXIS2_MSG_INFO_HEADERS_SET_MESSAGE_ID(msg_info_headers, env, message_id) \
00306 ((msg_info_headers)->ops->set_message_id(msg_info_headers, env, message_id))
00307
00308 #define AXIS2_MSG_INFO_HEADERS_GET_RELATES_TO(msg_info_headers, env) \
00309 ((msg_info_headers)->ops->get_relates_to(msg_info_headers, env))
00310
00311 #define AXIS2_MSG_INFO_HEADERS_SET_RELATES_TO(msg_info_headers, env, relates_to) \
00312 ((msg_info_headers)->ops->set_relates_to(msg_info_headers, env, relates_to))
00313
00314 #define AXIS2_MSG_INFO_HEADERS_GET_REF_PARAMS(msg_info_headers, env) \
00315 ((msg_info_headers)->ops->get_ref_params(msg_info_headers, env))
00316
00317 #define AXIS2_MSG_INFO_HEADERS_ADD_REF_PARAM(msg_info_headers, env, ref_param) \
00318 ((msg_info_headers)->ops->add_ref_param(msg_info_headers, env, ref_param))
00319
00320 #define AXIS2_MSG_INFO_HEADERS_FREE(msg_info_headers, env) \
00321 ((msg_info_headers)->ops->free(msg_info_headers, env))
00322
00325 #ifdef __cplusplus
00326 }
00327 #endif
00328
00329 #endif