00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef AXIS2_MSG_INFO_HEADERS_H
00019 #define AXIS2_MSG_INFO_HEADERS_H
00020
00042 #include <axis2_defines.h>
00043 #include <axis2_env.h>
00044 #include <axis2_const.h>
00045 #include <axis2_array_list.h>
00046 #include <axis2_endpoint_ref.h>
00047 #include <axis2_any_content_type.h>
00048 #include <axis2_svc_name.h>
00049 #include <axis2_relates_to.h>
00050 #include <axiom_node.h>
00051
00052 #ifdef __cplusplus
00053 extern "C"
00054 {
00055 #endif
00056
00058 typedef struct axis2_msg_info_headers axis2_msg_info_headers_t;
00060 typedef struct axis2_msg_info_headers_ops axis2_msg_info_headers_ops_t;
00061
00062
00066 struct axis2_msg_info_headers_ops
00067 {
00076 axis2_endpoint_ref_t *(AXIS2_CALL *
00077 get_to)(
00078 const axis2_msg_info_headers_t *msg_info_headers,
00079 const axis2_env_t *env);
00080
00090 axis2_status_t (AXIS2_CALL *
00091 set_to)(
00092 struct axis2_msg_info_headers *msg_info_headers,
00093 const axis2_env_t *env,
00094 axis2_endpoint_ref_t *to);
00095
00104 axis2_endpoint_ref_t *(AXIS2_CALL *
00105 get_from)(
00106 const axis2_msg_info_headers_t *msg_info_headers,
00107 const axis2_env_t *env);
00108
00118 axis2_status_t (AXIS2_CALL *
00119 set_from)(
00120 struct axis2_msg_info_headers *msg_info_headers,
00121 const axis2_env_t *env,
00122 axis2_endpoint_ref_t *from);
00123
00132 axis2_endpoint_ref_t *(AXIS2_CALL *
00133 get_reply_to)(
00134 const axis2_msg_info_headers_t *msg_info_headers,
00135 const axis2_env_t *env);
00136
00146 axis2_status_t (AXIS2_CALL *
00147 set_reply_to)(
00148 struct axis2_msg_info_headers *msg_info_headers,
00149 const axis2_env_t *env,
00150 axis2_endpoint_ref_t *reply_to);
00151
00163 axis2_status_t (AXIS2_CALL *
00164 set_reply_to_none)(
00165 struct axis2_msg_info_headers *msg_info_headers,
00166 const axis2_env_t *env,
00167 const axis2_bool_t none);
00168
00180 axis2_bool_t (AXIS2_CALL *
00181 get_reply_to_none)(
00182 const axis2_msg_info_headers_t *msg_info_headers,
00183 const axis2_env_t *env);
00184
00199 axis2_status_t (AXIS2_CALL *
00200 set_reply_to_anonymous)(
00201 struct axis2_msg_info_headers *msg_info_headers,
00202 const axis2_env_t *env,
00203 const axis2_bool_t anonymous);
00204
00217 axis2_bool_t (AXIS2_CALL *
00218 get_reply_to_anonymous)(
00219 const axis2_msg_info_headers_t *msg_info_headers,
00220 const axis2_env_t *env);
00221
00230 axis2_endpoint_ref_t *(AXIS2_CALL *
00231 get_fault_to)(
00232 const axis2_msg_info_headers_t *msg_info_headers,
00233 const axis2_env_t *env);
00234
00244 axis2_status_t (AXIS2_CALL *
00245 set_fault_to)(
00246 struct axis2_msg_info_headers *msg_info_headers,
00247 const axis2_env_t *env,
00248 axis2_endpoint_ref_t *fault_to);
00249
00262 axis2_status_t (AXIS2_CALL *
00263 set_fault_to_none)(
00264 struct axis2_msg_info_headers *msg_info_headers,
00265 const axis2_env_t *env,
00266 const axis2_bool_t none);
00267
00279 axis2_bool_t (AXIS2_CALL *
00280 get_fault_to_none)(
00281 const axis2_msg_info_headers_t *msg_info_headers,
00282 const axis2_env_t *env);
00283
00298 axis2_status_t (AXIS2_CALL *
00299 set_fault_to_anonymous)(
00300 struct axis2_msg_info_headers *msg_info_headers,
00301 const axis2_env_t *env,
00302 const axis2_bool_t anonymous);
00303
00316 axis2_bool_t (AXIS2_CALL *
00317 get_fault_to_anonymous)(
00318 const axis2_msg_info_headers_t *msg_info_headers,
00319 const axis2_env_t *env);
00320
00329 const axis2_char_t *(AXIS2_CALL *
00330 get_action)(
00331 const axis2_msg_info_headers_t *msg_info_headers,
00332 const axis2_env_t *env);
00333
00343 axis2_status_t (AXIS2_CALL *
00344 set_action)(
00345 struct axis2_msg_info_headers *msg_info_headers,
00346 const axis2_env_t *env,
00347 const axis2_char_t *action);
00348
00356 const axis2_char_t *(AXIS2_CALL *
00357 get_message_id)(
00358 const axis2_msg_info_headers_t *msg_info_headers,
00359 const axis2_env_t *env);
00360
00369 axis2_status_t (AXIS2_CALL *
00370 set_message_id)(
00371 struct axis2_msg_info_headers *msg_info_headers,
00372 const axis2_env_t *env,
00373 const axis2_char_t *message_id);
00374
00383 axis2_relates_to_t *(AXIS2_CALL *
00384 get_relates_to)(
00385 const axis2_msg_info_headers_t *msg_info_headers,
00386 const axis2_env_t *env);
00387
00396 axis2_status_t (AXIS2_CALL *
00397 set_relates_to)(
00398 struct axis2_msg_info_headers *msg_info_headers,
00399 const axis2_env_t *env,
00400 axis2_relates_to_t *relates_to);
00401
00409 axis2_array_list_t *(AXIS2_CALL *
00410 get_all_ref_params)(
00411 const axis2_msg_info_headers_t *msg_info_headers,
00412 const axis2_env_t *env);
00413
00424 axis2_status_t (AXIS2_CALL *
00425 add_ref_param)(
00426 struct axis2_msg_info_headers *msg_info_headers,
00427 const axis2_env_t *env,
00428 axiom_node_t *ref_param);
00429
00436 axis2_status_t (AXIS2_CALL *
00437 free)(
00438 struct axis2_msg_info_headers *msg_info_headers,
00439 const axis2_env_t *env);
00440
00441 };
00442
00446 struct axis2_msg_info_headers
00447 {
00449 axis2_msg_info_headers_ops_t *ops;
00450 };
00451
00452
00460 AXIS2_EXTERN axis2_msg_info_headers_t *AXIS2_CALL
00461 axis2_msg_info_headers_create(
00462 const axis2_env_t *env,
00463 axis2_endpoint_ref_t *to,
00464 const axis2_char_t *action);
00465
00466
00469 #define AXIS2_MSG_INFO_HEADERS_GET_TO(msg_info_headers, env) \
00470 ((msg_info_headers)->ops->get_to(msg_info_headers, env))
00471
00474 #define AXIS2_MSG_INFO_HEADERS_SET_TO(msg_info_headers, env, to) \
00475 ((msg_info_headers)->ops->set_to(msg_info_headers, env, to))
00476
00479 #define AXIS2_MSG_INFO_HEADERS_GET_FROM(msg_info_headers, env) \
00480 ((msg_info_headers)->ops->get_from(msg_info_headers, env))
00481
00484 #define AXIS2_MSG_INFO_HEADERS_SET_FROM(msg_info_headers, env, from) \
00485 ((msg_info_headers)->ops->set_from(msg_info_headers, env, from))
00486
00489 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO(msg_info_headers, env) \
00490 ((msg_info_headers)->ops->get_reply_to(msg_info_headers, env))
00491
00494 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO(msg_info_headers, env, reply_to) \
00495 ((msg_info_headers)->ops->set_reply_to(msg_info_headers, env, reply_to))
00496
00499 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO_NONE(msg_info_headers, env, none) \
00500 ((msg_info_headers)->ops->set_reply_to_none(msg_info_headers, env, none))
00501
00504 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_NONE(msg_info_headers, env) \
00505 ((msg_info_headers)->ops->get_reply_to_none(msg_info_headers, env))
00506
00509 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO_ANONYMOUS(msg_info_headers, env, anonymous) \
00510 ((msg_info_headers)->ops->set_reply_to_anonymous(msg_info_headers, env, anonymous))
00511
00514 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_ANONYMOUS(msg_info_headers, env) \
00515 ((msg_info_headers)->ops->get_reply_to_anonymous(msg_info_headers, env))
00516
00519 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO(msg_info_headers, env) \
00520 ((msg_info_headers)->ops->get_fault_to(msg_info_headers, env))
00521
00524 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO(msg_info_headers, env, fault_to) \
00525 ((msg_info_headers)->ops->set_fault_to(msg_info_headers, env, fault_to))
00526
00529 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO_NONE(msg_info_headers, env, none) \
00530 ((msg_info_headers)->ops->set_fault_to_none(msg_info_headers, env, none))
00531
00534 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_NONE(msg_info_headers, env) \
00535 ((msg_info_headers)->ops->get_fault_to_none(msg_info_headers, env))
00536
00539 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO_ANONYMOUS(msg_info_headers, env, anonymous) \
00540 ((msg_info_headers)->ops->set_fault_to_anonymous(msg_info_headers, env, anonymous))
00541
00544 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_ANONYMOUS(msg_info_headers, env) \
00545 ((msg_info_headers)->ops->get_fault_to_anonymous(msg_info_headers, env))
00546
00549 #define AXIS2_MSG_INFO_HEADERS_GET_ACTION(msg_info_headers, env) \
00550 ((msg_info_headers)->ops->get_action(msg_info_headers, env))
00551
00554 #define AXIS2_MSG_INFO_HEADERS_SET_ACTION(msg_info_headers, env, action) \
00555 ((msg_info_headers)->ops->set_action(msg_info_headers, env, action))
00556
00559 #define AXIS2_MSG_INFO_HEADERS_GET_MESSAGE_ID(msg_info_headers, env) \
00560 ((msg_info_headers)->ops->get_message_id(msg_info_headers, env))
00561
00564 #define AXIS2_MSG_INFO_HEADERS_SET_MESSAGE_ID(msg_info_headers, env, message_id) \
00565 ((msg_info_headers)->ops->set_message_id(msg_info_headers, env, message_id))
00566
00569 #define AXIS2_MSG_INFO_HEADERS_GET_RELATES_TO(msg_info_headers, env) \
00570 ((msg_info_headers)->ops->get_relates_to(msg_info_headers, env))
00571
00574 #define AXIS2_MSG_INFO_HEADERS_SET_RELATES_TO(msg_info_headers, env, relates_to) \
00575 ((msg_info_headers)->ops->set_relates_to(msg_info_headers, env, relates_to))
00576
00579 #define AXIS2_MSG_INFO_HEADERS_GET_ALL_REF_PARAMS(msg_info_headers, env) \
00580 ((msg_info_headers)->ops->get_all_ref_params(msg_info_headers, env))
00581
00584 #define AXIS2_MSG_INFO_HEADERS_ADD_REF_PARAM(msg_info_headers, env, ref_param) \
00585 ((msg_info_headers)->ops->add_ref_param(msg_info_headers, env, ref_param))
00586
00589 #define AXIS2_MSG_INFO_HEADERS_FREE(msg_info_headers, env) \
00590 ((msg_info_headers)->ops->free(msg_info_headers, env))
00591
00594 #ifdef __cplusplus
00595 }
00596 #endif
00597
00598 #endif