axis2_msg_info_headers.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef AXIS2_MSG_INFO_HEADERS_H
00018 #define AXIS2_MSG_INFO_HEADERS_H
00019 
00041 #include <axis2_defines.h>
00042 #include <axis2_env.h>
00043 #include <axis2_const.h>
00044 #include <axis2_array_list.h>
00045 #include <axis2_endpoint_ref.h>
00046 #include <axis2_any_content_type.h>
00047 #include <axis2_svc_name.h>
00048 #include <axis2_relates_to.h>
00049 #include <axiom_node.h>
00050 
00051 #ifdef __cplusplus
00052 extern "C"
00053 {
00054 #endif
00055 
00057     typedef struct axis2_msg_info_headers axis2_msg_info_headers_t;
00059     typedef struct axis2_msg_info_headers_ops axis2_msg_info_headers_ops_t;
00060 
00061 
00065     struct axis2_msg_info_headers_ops
00066     {
00075         axis2_endpoint_ref_t *(AXIS2_CALL *
00076                 get_to)(
00077                     const axis2_msg_info_headers_t *msg_info_headers,
00078                     const axis2_env_t *env);
00079 
00089         axis2_status_t (AXIS2_CALL *
00090                 set_to)(
00091                     struct axis2_msg_info_headers *msg_info_headers,
00092                     const axis2_env_t *env,
00093                     axis2_endpoint_ref_t *to);
00094 
00103         axis2_endpoint_ref_t *(AXIS2_CALL *
00104                 get_from)(
00105                     const axis2_msg_info_headers_t *msg_info_headers,
00106                     const axis2_env_t *env);
00107 
00117         axis2_status_t (AXIS2_CALL *
00118                 set_from)(
00119                     struct axis2_msg_info_headers *msg_info_headers,
00120                     const axis2_env_t *env,
00121                     axis2_endpoint_ref_t *from);
00122 
00131         axis2_endpoint_ref_t *(AXIS2_CALL *
00132                 get_reply_to)(
00133                     const axis2_msg_info_headers_t *msg_info_headers,
00134                     const axis2_env_t *env);
00135 
00145         axis2_status_t (AXIS2_CALL *
00146                 set_reply_to)(
00147                     struct axis2_msg_info_headers *msg_info_headers,
00148                     const axis2_env_t *env,
00149                     axis2_endpoint_ref_t *reply_to);
00150 
00162         axis2_status_t (AXIS2_CALL *
00163                 set_reply_to_none)(
00164                     struct axis2_msg_info_headers *msg_info_headers,
00165                     const axis2_env_t *env, 
00166                     const axis2_bool_t none);
00167 
00179         axis2_bool_t (AXIS2_CALL *
00180                 get_reply_to_none)(
00181                     const axis2_msg_info_headers_t *msg_info_headers,
00182                     const axis2_env_t *env);
00183 
00198         axis2_status_t (AXIS2_CALL *
00199                 set_reply_to_anonymous)(
00200                     struct axis2_msg_info_headers *msg_info_headers,
00201                     const axis2_env_t *env, 
00202                     const axis2_bool_t anonymous);
00203 
00216         axis2_bool_t (AXIS2_CALL *
00217                 get_reply_to_anonymous)(
00218                     const axis2_msg_info_headers_t *msg_info_headers,
00219                     const axis2_env_t *env);
00220 
00229         axis2_endpoint_ref_t *(AXIS2_CALL *
00230                 get_fault_to)(
00231                     const axis2_msg_info_headers_t *msg_info_headers,
00232                     const axis2_env_t *env);
00233 
00243         axis2_status_t (AXIS2_CALL *
00244                 set_fault_to)(
00245                     struct axis2_msg_info_headers *msg_info_headers,
00246                     const axis2_env_t *env,
00247                     axis2_endpoint_ref_t *fault_to);
00248 
00261         axis2_status_t (AXIS2_CALL *
00262                 set_fault_to_none)(
00263                     struct axis2_msg_info_headers *msg_info_headers,
00264                     const axis2_env_t *env, 
00265                     const axis2_bool_t none);
00266 
00278         axis2_bool_t (AXIS2_CALL *
00279                 get_fault_to_none)(
00280                     const axis2_msg_info_headers_t *msg_info_headers,
00281                     const axis2_env_t *env);
00282 
00297         axis2_status_t (AXIS2_CALL *
00298                 set_fault_to_anonymous)(
00299                     struct axis2_msg_info_headers *msg_info_headers,
00300                     const axis2_env_t *env, 
00301                     const axis2_bool_t anonymous);
00302 
00315         axis2_bool_t (AXIS2_CALL *
00316                 get_fault_to_anonymous)(
00317                     const axis2_msg_info_headers_t *msg_info_headers,
00318                     const axis2_env_t *env);
00319 
00328         const axis2_char_t *(AXIS2_CALL *
00329                 get_action)(
00330                     const axis2_msg_info_headers_t *msg_info_headers,
00331                     const axis2_env_t *env);
00332 
00342         axis2_status_t (AXIS2_CALL *
00343                 set_action)(
00344                     struct axis2_msg_info_headers *msg_info_headers,
00345                     const axis2_env_t *env,
00346                     const axis2_char_t *action);
00347 
00355         const axis2_char_t *(AXIS2_CALL *
00356                 get_message_id)(
00357                     const axis2_msg_info_headers_t *msg_info_headers,
00358                     const axis2_env_t *env);
00359 
00368         axis2_status_t (AXIS2_CALL *
00369                 set_message_id)(
00370                     struct axis2_msg_info_headers *msg_info_headers,
00371                     const axis2_env_t *env,
00372                     const axis2_char_t *message_id);
00373 
00382         axis2_relates_to_t *(AXIS2_CALL *
00383                 get_relates_to)(
00384                     const axis2_msg_info_headers_t *msg_info_headers,
00385                     const axis2_env_t *env);
00386 
00395         axis2_status_t (AXIS2_CALL *
00396                 set_relates_to)(
00397                     struct axis2_msg_info_headers *msg_info_headers,
00398                     const axis2_env_t *env,
00399                     axis2_relates_to_t *relates_to);
00400 
00408         axis2_array_list_t *(AXIS2_CALL *
00409                 get_all_ref_params)(
00410                     const axis2_msg_info_headers_t *msg_info_headers,
00411                     const axis2_env_t *env);
00412 
00423         axis2_status_t (AXIS2_CALL *
00424                 add_ref_param)(
00425                     struct axis2_msg_info_headers *msg_info_headers,
00426                     const axis2_env_t *env,
00427                     axiom_node_t *ref_param);
00428 
00435         axis2_status_t (AXIS2_CALL *
00436                 free)(
00437                     struct axis2_msg_info_headers *msg_info_headers,
00438                     const axis2_env_t *env);
00439 
00440     };
00441 
00445     struct axis2_msg_info_headers
00446     {
00448         axis2_msg_info_headers_ops_t *ops;
00449     };
00450 
00451 
00459     AXIS2_EXTERN axis2_msg_info_headers_t *AXIS2_CALL
00460     axis2_msg_info_headers_create(
00461         const axis2_env_t *env,
00462         axis2_endpoint_ref_t *to,
00463         const axis2_char_t *action);
00464 
00465 
00468 #define AXIS2_MSG_INFO_HEADERS_GET_TO(msg_info_headers, env) \
00469         ((msg_info_headers)->ops->get_to(msg_info_headers, env))
00470 
00473 #define AXIS2_MSG_INFO_HEADERS_SET_TO(msg_info_headers, env, to) \
00474         ((msg_info_headers)->ops->set_to(msg_info_headers, env, to))
00475 
00478 #define AXIS2_MSG_INFO_HEADERS_GET_FROM(msg_info_headers, env) \
00479         ((msg_info_headers)->ops->get_from(msg_info_headers, env))
00480 
00483 #define AXIS2_MSG_INFO_HEADERS_SET_FROM(msg_info_headers, env, from) \
00484         ((msg_info_headers)->ops->set_from(msg_info_headers, env, from))
00485 
00488 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO(msg_info_headers, env) \
00489         ((msg_info_headers)->ops->get_reply_to(msg_info_headers, env))
00490 
00493 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO(msg_info_headers, env, reply_to) \
00494         ((msg_info_headers)->ops->set_reply_to(msg_info_headers, env, reply_to))
00495 
00498 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO_NONE(msg_info_headers, env, none) \
00499         ((msg_info_headers)->ops->set_reply_to_none(msg_info_headers, env, none))
00500 
00503 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_NONE(msg_info_headers, env) \
00504         ((msg_info_headers)->ops->get_reply_to_none(msg_info_headers, env))
00505 
00508 #define AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO_ANONYMOUS(msg_info_headers, env, anonymous) \
00509         ((msg_info_headers)->ops->set_reply_to_anonymous(msg_info_headers, env, anonymous))
00510 
00513 #define AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_ANONYMOUS(msg_info_headers, env) \
00514         ((msg_info_headers)->ops->get_reply_to_anonymous(msg_info_headers, env))
00515 
00518 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO(msg_info_headers, env) \
00519         ((msg_info_headers)->ops->get_fault_to(msg_info_headers, env))
00520 
00523 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO(msg_info_headers, env, fault_to) \
00524         ((msg_info_headers)->ops->set_fault_to(msg_info_headers, env, fault_to))
00525 
00528 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO_NONE(msg_info_headers, env, none) \
00529         ((msg_info_headers)->ops->set_fault_to_none(msg_info_headers, env, none))
00530 
00533 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_NONE(msg_info_headers, env) \
00534         ((msg_info_headers)->ops->get_fault_to_none(msg_info_headers, env))
00535 
00538 #define AXIS2_MSG_INFO_HEADERS_SET_FAULT_TO_ANONYMOUS(msg_info_headers, env, anonymous) \
00539         ((msg_info_headers)->ops->set_fault_to_anonymous(msg_info_headers, env, anonymous))
00540 
00543 #define AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_ANONYMOUS(msg_info_headers, env) \
00544         ((msg_info_headers)->ops->get_fault_to_anonymous(msg_info_headers, env))
00545 
00548 #define AXIS2_MSG_INFO_HEADERS_GET_ACTION(msg_info_headers, env) \
00549         ((msg_info_headers)->ops->get_action(msg_info_headers, env))
00550 
00553 #define AXIS2_MSG_INFO_HEADERS_SET_ACTION(msg_info_headers, env, action) \
00554         ((msg_info_headers)->ops->set_action(msg_info_headers, env, action))
00555 
00558 #define AXIS2_MSG_INFO_HEADERS_GET_MESSAGE_ID(msg_info_headers, env) \
00559         ((msg_info_headers)->ops->get_message_id(msg_info_headers, env))
00560 
00563 #define AXIS2_MSG_INFO_HEADERS_SET_MESSAGE_ID(msg_info_headers, env, message_id) \
00564         ((msg_info_headers)->ops->set_message_id(msg_info_headers, env, message_id))
00565 
00568 #define AXIS2_MSG_INFO_HEADERS_GET_RELATES_TO(msg_info_headers, env) \
00569         ((msg_info_headers)->ops->get_relates_to(msg_info_headers, env))
00570 
00573 #define AXIS2_MSG_INFO_HEADERS_SET_RELATES_TO(msg_info_headers, env, relates_to) \
00574         ((msg_info_headers)->ops->set_relates_to(msg_info_headers, env, relates_to))
00575 
00578 #define AXIS2_MSG_INFO_HEADERS_GET_ALL_REF_PARAMS(msg_info_headers, env) \
00579         ((msg_info_headers)->ops->get_all_ref_params(msg_info_headers, env))
00580 
00583 #define AXIS2_MSG_INFO_HEADERS_ADD_REF_PARAM(msg_info_headers, env, ref_param) \
00584         ((msg_info_headers)->ops->add_ref_param(msg_info_headers, env, ref_param))
00585 
00588 #define AXIS2_MSG_INFO_HEADERS_FREE(msg_info_headers, env) \
00589         ((msg_info_headers)->ops->free(msg_info_headers, env))
00590 
00593 #ifdef __cplusplus
00594 }
00595 #endif
00596 
00597 #endif    /* AXIS2_MSG_INFO_HEADERS_H */

Generated on Thu Oct 26 21:11:23 2006 for Axis2/C by  doxygen 1.4.7