axis2_msg_ctx.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_CTX_H
00018 #define AXIS2_MSG_CTX_H
00019 
00042 #include <axis2_defines.h>
00043 #include <axis2_env.h>
00044 #include <axis2_ctx.h>
00045 #include <axis2_relates_to.h>
00046 #include <axis2_param.h>
00047 #include <axis2_handler_desc.h>
00048 #include <axis2_qname.h>
00049 #include <axis2_msg_info_headers.h>
00050 
00051 #ifdef __cplusplus
00052 extern "C"
00053 {
00054 #endif
00055 
00057 #define AXIS2_TRANSPORT_HEADERS "AXIS2_TRANSPORT_HEADERS" 
00058 
00060 #define AXIS2_TRANSPORT_OUT "AXIS2_TRANSPORT_OUT" 
00061 
00063 #define AXIS2_TRANSPORT_IN "AXIS2_TRANSPORT_IN" 
00064 
00066 #define AXIS2_CHARACTER_SET_ENCODING "AXIS2_CHARACTER_SET_ENCODING" 
00067 
00069 #define AXIS2_UTF_8 "UTF-8" 
00070 
00072 #define AXIS2_UTF_16 "utf-16" 
00073 
00075 #define AXIS2_DEFAULT_CHAR_SET_ENCODING "UTF-8" 
00076 
00078 #define AXIS2_TRANSPORT_SUCCEED "AXIS2_TRANSPORT_SUCCEED" 
00079 
00081 #define AXIS2_HTTP_CLIENT "AXIS2_HTTP_CLIENT"
00082 
00084 #define AXIS2_TRANSPORT_URL "TransportURL" 
00085 
00086 /* Message flows */
00088 /*#define AXIS2_IN_FLOW 1*/
00089 
00091 /*#define AXIS2_IN_FAULT_FLOW 2*/
00092 
00094 /*#define AXIS2_OUT_FLOW 3*/
00095 
00097 /*#define AXIS2_OUT_FAULT_FLOW 4*/
00098 
00100     typedef struct axis2_msg_ctx_ops axis2_msg_ctx_ops_t;
00102     typedef struct axis2_msg_ctx axis2_msg_ctx_t;
00103 
00104     struct axis2_svc;
00105     struct axis2_op;
00106 
00107     struct axis2_conf_ctx;
00108     struct axis2_svc_grp_ctx;
00109     struct axis2_svc_ctx;
00110     struct axis2_op_ctx;
00111     struct axis2_conf;
00112     struct axiom_soap_envelope;
00113     struct axis2_options;
00114 
00119     struct axis2_msg_ctx_ops
00120     {
00127         axis2_ctx_t *(AXIS2_CALL *
00128                 get_base)(
00129                     const axis2_msg_ctx_t *msg_ctx,
00130                     const axis2_env_t *env);
00131 
00138         struct axis2_op_ctx *(AXIS2_CALL *
00139                 get_parent)(
00140                     const axis2_msg_ctx_t *msg_ctx,
00141                     const axis2_env_t *env);
00142 
00150         axis2_status_t (AXIS2_CALL *
00151                 set_parent)(
00152                     axis2_msg_ctx_t *msg_ctx,
00153                     const axis2_env_t *env,
00154                     struct axis2_op_ctx *parent);
00155 
00162         axis2_status_t (AXIS2_CALL *
00163                 free)(
00164                     axis2_msg_ctx_t *msg_ctx,
00165                     const axis2_env_t *env);
00166 
00177         axis2_status_t (AXIS2_CALL *
00178                 init)(
00179                     axis2_msg_ctx_t *msg_ctx,
00180                     const axis2_env_t *env,
00181                     struct axis2_conf *conf);
00182 
00191         axis2_endpoint_ref_t *(AXIS2_CALL *
00192                 get_fault_to)(
00193                     const axis2_msg_ctx_t *msg_ctx,
00194                     const axis2_env_t *env);
00195 
00204         axis2_endpoint_ref_t *(AXIS2_CALL *
00205                 get_from)(
00206                     const axis2_msg_ctx_t *msg_ctx,
00207                     const axis2_env_t *env);
00208 
00215         axis2_bool_t (AXIS2_CALL *
00216                 get_in_fault_flow)(
00217                     const axis2_msg_ctx_t *msg_ctx,
00218                     const axis2_env_t *env);
00219 
00228         struct axiom_soap_envelope *(AXIS2_CALL *
00229                 get_soap_envelope)(
00230                     const axis2_msg_ctx_t *msg_ctx,
00231                     const axis2_env_t *env);
00232 
00239         struct axiom_soap_envelope *(AXIS2_CALL *
00240                 get_fault_soap_envelope)(
00241                     const axis2_msg_ctx_t *msg_ctx,
00242                     const axis2_env_t *env);
00243 
00251         const axis2_char_t *(AXIS2_CALL *
00252                 get_msg_id)(
00253                     const axis2_msg_ctx_t *msg_ctx,
00254                     const axis2_env_t *env);
00255 
00262         axis2_bool_t (AXIS2_CALL *
00263                 get_process_fault)(
00264                     const axis2_msg_ctx_t *msg_ctx,
00265                     const axis2_env_t *env);
00266 
00273         axis2_relates_to_t *(AXIS2_CALL *
00274                 get_relates_to)(
00275                     const axis2_msg_ctx_t *msg_ctx,
00276                     const axis2_env_t *env);
00277 
00286         axis2_endpoint_ref_t *(AXIS2_CALL *
00287                 get_reply_to)(
00288                     const axis2_msg_ctx_t *msg_ctx,
00289                     const axis2_env_t *env);
00290 
00297         axis2_bool_t (AXIS2_CALL *
00298                 get_response_written)(
00299                     const axis2_msg_ctx_t *msg_ctx,
00300                     const axis2_env_t *env);
00301 
00310         axis2_bool_t (AXIS2_CALL *
00311                 get_server_side)(
00312                     const axis2_msg_ctx_t *msg_ctx,
00313                     const axis2_env_t *env);
00314 
00323         axis2_endpoint_ref_t *(AXIS2_CALL *
00324                 get_to)(
00325                     const axis2_msg_ctx_t *msg_ctx,
00326                     const axis2_env_t *env);
00327 
00337         axis2_status_t (AXIS2_CALL *
00338                 set_fault_to)(
00339                     axis2_msg_ctx_t *msg_ctx,
00340                     const axis2_env_t *env,
00341                     axis2_endpoint_ref_t *reference);
00342 
00352         axis2_status_t (AXIS2_CALL *
00353                 set_from)(
00354                     axis2_msg_ctx_t *msg_ctx,
00355                     const axis2_env_t *env,
00356                     axis2_endpoint_ref_t *reference);
00357 
00366         axis2_status_t (AXIS2_CALL *
00367                 set_in_fault_flow)(
00368                     axis2_msg_ctx_t *msg_ctx,
00369                     const axis2_env_t *env,
00370                     const axis2_bool_t in_fault_flow);
00371 
00382         axis2_status_t (AXIS2_CALL *
00383                 set_soap_envelope)(
00384                     axis2_msg_ctx_t *msg_ctx,
00385                     const axis2_env_t *env,
00386                     struct axiom_soap_envelope *soap_envelope);
00387 
00396         axis2_status_t (AXIS2_CALL *
00397                 set_fault_soap_envelope)(
00398                     axis2_msg_ctx_t *msg_ctx,
00399                     const axis2_env_t *env,
00400                     struct axiom_soap_envelope *soap_envelope);
00401 
00409         axis2_status_t (AXIS2_CALL *
00410                 set_message_id)(
00411                     axis2_msg_ctx_t *msg_ctx,
00412                     const axis2_env_t *env,
00413                     const axis2_char_t *message_id);
00414 
00423         axis2_status_t (AXIS2_CALL *
00424                 set_process_fault)(
00425                     axis2_msg_ctx_t *msg_ctx,
00426                     const axis2_env_t *env,
00427                     const axis2_bool_t process_fault);
00428 
00437         axis2_status_t (AXIS2_CALL *
00438                 set_relates_to)(
00439                     axis2_msg_ctx_t *msg_ctx,
00440                     const axis2_env_t *env,
00441                     axis2_relates_to_t *reference);
00442 
00452         axis2_status_t (AXIS2_CALL *
00453                 set_reply_to)(
00454                     axis2_msg_ctx_t *msg_ctx,
00455                     const axis2_env_t *env,
00456                     axis2_endpoint_ref_t *referance);
00457 
00466         axis2_status_t (AXIS2_CALL *
00467                 set_response_written)(
00468                     axis2_msg_ctx_t *msg_ctx,
00469                     const axis2_env_t *env,
00470                     const axis2_bool_t response_written);
00471 
00481         axis2_status_t (AXIS2_CALL *
00482                 set_server_side)(
00483                     axis2_msg_ctx_t *msg_ctx,
00484                     const axis2_env_t *env,
00485                     const axis2_bool_t server_side);
00486 
00496         axis2_status_t (AXIS2_CALL *
00497                 set_to)(
00498                     axis2_msg_ctx_t *msg_ctx,
00499                     const axis2_env_t *env,
00500                     axis2_endpoint_ref_t *referance);
00501 
00509         axis2_bool_t (AXIS2_CALL *
00510                 get_new_thread_required)(
00511                     const axis2_msg_ctx_t *msg_ctx,
00512                     const axis2_env_t *env);
00513 
00523         axis2_status_t (AXIS2_CALL *
00524                 set_new_thread_required)(
00525                     axis2_msg_ctx_t *msg_ctx,
00526                     const axis2_env_t *env,
00527                     const axis2_bool_t new_thread_required);
00528 
00536         axis2_status_t (AXIS2_CALL *
00537                 set_wsa_action)(
00538                     axis2_msg_ctx_t *msg_ctx,
00539                     const axis2_env_t *env,
00540                     const axis2_char_t *action_uri);
00541 
00548         const axis2_char_t *(AXIS2_CALL *
00549                 get_wsa_action)(
00550                     const axis2_msg_ctx_t *msg_ctx,
00551                     const axis2_env_t *env);
00552 
00560         axis2_status_t (AXIS2_CALL *
00561                 set_wsa_message_id)(
00562                     axis2_msg_ctx_t *msg_ctx,
00563                     const axis2_env_t *env,
00564                     const axis2_char_t *message_id);
00565 
00572         const axis2_char_t *(AXIS2_CALL *
00573                 get_wsa_message_id)(
00574                     const axis2_msg_ctx_t *msg_ctx,
00575                     const axis2_env_t *env);
00576 
00584         axis2_msg_info_headers_t *(AXIS2_CALL *
00585                 get_msg_info_headers)(
00586                     const axis2_msg_ctx_t *msg_ctx,
00587                     const axis2_env_t *env);
00588 
00597         axis2_bool_t (AXIS2_CALL *
00598                 get_paused)(
00599                     const axis2_msg_ctx_t *msg_ctx,
00600                     const axis2_env_t *env);
00601 
00609         axis2_status_t (AXIS2_CALL *
00610                 set_paused)(
00611                     axis2_msg_ctx_t *msg_ctx,
00612                     const axis2_env_t *env,
00613                     const axis2_bool_t paused);
00614 
00623         axis2_bool_t (AXIS2_CALL *
00624                 is_keep_alive)(
00625                     const axis2_msg_ctx_t *msg_ctx,
00626                     const axis2_env_t *env);
00627 
00637         axis2_status_t (AXIS2_CALL *
00638                 set_keep_alive)(
00639                     axis2_msg_ctx_t *msg_ctx,
00640                     const axis2_env_t *env,
00641                     const axis2_bool_t keep_alive);
00642 
00643 
00651         struct axis2_transport_in_desc *(AXIS2_CALL *
00652                 get_transport_in_desc)(
00653                     const axis2_msg_ctx_t *msg_ctx,
00654                     const axis2_env_t *env);
00655 
00663         struct axis2_transport_out_desc *(AXIS2_CALL *
00664                 get_transport_out_desc)(
00665                     const axis2_msg_ctx_t *msg_ctx,
00666                     const axis2_env_t *env);
00667 
00676         axis2_status_t (AXIS2_CALL *
00677                 set_transport_in_desc)(
00678                     axis2_msg_ctx_t *msg_ctx,
00679                     const axis2_env_t *env,
00680                     struct axis2_transport_in_desc *transport_in_desc);
00681 
00690         axis2_status_t (AXIS2_CALL *
00691                 set_transport_out_desc)(
00692                     axis2_msg_ctx_t *msg_ctx,
00693                     const axis2_env_t *env,
00694                     struct axis2_transport_out_desc *transport_out_desc);
00695 
00703         struct axis2_op_ctx *(AXIS2_CALL *
00704                 get_op_ctx)(
00705                     const axis2_msg_ctx_t *msg_ctx,
00706                     const axis2_env_t *env);
00707 
00717         axis2_status_t (AXIS2_CALL *
00718                 set_op_ctx)(
00719                     axis2_msg_ctx_t *msg_ctx,
00720                     const axis2_env_t *env,
00721                     struct axis2_op_ctx *op_ctx);
00722 
00729         axis2_bool_t (AXIS2_CALL *
00730                 get_output_written)(
00731                     const axis2_msg_ctx_t *msg_ctx,
00732                     const axis2_env_t *env);
00733 
00741         axis2_status_t (AXIS2_CALL *
00742                 set_output_written)(
00743                     axis2_msg_ctx_t *msg_ctx,
00744                     const axis2_env_t *env,
00745                     const axis2_bool_t output_written);
00746 
00754         const axis2_char_t *(AXIS2_CALL *
00755                 get_svc_ctx_id)(
00756                     const axis2_msg_ctx_t *msg_ctx,
00757                     const axis2_env_t *env);
00758 
00767         axis2_status_t (AXIS2_CALL *
00768                 set_svc_ctx_id)(
00769                     axis2_msg_ctx_t *msg_ctx,
00770                     const axis2_env_t *env,
00771                     const axis2_char_t *svc_ctx_id);
00772 
00779         struct axis2_conf_ctx *(AXIS2_CALL *
00780                 get_conf_ctx)(
00781                     const axis2_msg_ctx_t *msg_ctx,
00782                     const axis2_env_t *env);
00783 
00791         struct axis2_svc_ctx *(AXIS2_CALL *
00792                 get_svc_ctx)(
00793                     const axis2_msg_ctx_t *msg_ctx,
00794                     const axis2_env_t *env);
00795 
00804         axis2_status_t (AXIS2_CALL *
00805                 set_conf_ctx)(
00806                     axis2_msg_ctx_t *msg_ctx,
00807                     const axis2_env_t *env,
00808                     struct axis2_conf_ctx *conf_ctx);
00809 
00818         axis2_status_t (AXIS2_CALL *
00819                 set_svc_ctx)(
00820                     axis2_msg_ctx_t *msg_ctx,
00821                     const axis2_env_t *env,
00822                     struct axis2_svc_ctx *svc_ctx);
00823 
00832         axis2_status_t (AXIS2_CALL *
00833                 set_msg_info_headers)(
00834                     axis2_msg_ctx_t *msg_ctx,
00835                     const axis2_env_t *env,
00836                     axis2_msg_info_headers_t *msg_info_headers);
00837 
00853         axis2_param_t *(AXIS2_CALL *
00854                 get_parameter)(
00855                     const axis2_msg_ctx_t *msg_ctx,
00856                     const axis2_env_t *env,
00857                     const axis2_char_t *key);
00858 
00879         axis2_param_t *(AXIS2_CALL *
00880                 get_module_parameter)(
00881                     const axis2_msg_ctx_t *msg_ctx,
00882                     const axis2_env_t *env,
00883                     const axis2_char_t *key,
00884                     const axis2_char_t *module_name,
00885                     axis2_handler_desc_t *handler_desc);
00886 
00897         axis2_property_t *(AXIS2_CALL *
00898                 get_property)(
00899                     const axis2_msg_ctx_t *msg_ctx,
00900                     const axis2_env_t *env,
00901                     const axis2_char_t *key,
00902                     const axis2_bool_t persistent);
00903 
00915         axis2_status_t (AXIS2_CALL *
00916                 set_property)(
00917                     axis2_msg_ctx_t *msg_ctx,
00918                     const axis2_env_t *env,
00919                     const axis2_char_t *key,
00920                     axis2_property_t *value,
00921                     const axis2_bool_t persistent);
00928         const axis2_qname_t *(AXIS2_CALL *
00929                 get_paused_handler_name)(
00930                     const axis2_msg_ctx_t *msg_ctx,
00931                     const axis2_env_t *env);
00932 
00939         const axis2_char_t *(AXIS2_CALL *
00940                 get_paused_phase_name)(
00941                     const axis2_msg_ctx_t *msg_ctx,
00942                     const axis2_env_t *env);
00943 
00951         axis2_status_t (AXIS2_CALL *
00952                 set_paused_phase_name)(
00953                     axis2_msg_ctx_t *msg_ctx,
00954                     const axis2_env_t *env,
00955                     const axis2_char_t *paused_phase_name);
00956 
00963         const axis2_char_t *(AXIS2_CALL *
00964                 get_soap_action)(
00965                     const axis2_msg_ctx_t *msg_ctx,
00966                     const axis2_env_t *env);
00967 
00975         axis2_status_t (AXIS2_CALL *
00976                 set_soap_action)(
00977                     axis2_msg_ctx_t *msg_ctx,
00978                     const axis2_env_t *env,
00979                     const axis2_char_t *soap_action);
00980 
00987         axis2_bool_t (AXIS2_CALL *
00988                 get_doing_mtom)(
00989                     const axis2_msg_ctx_t *msg_ctx,
00990                     const axis2_env_t *env);
00991 
00999         axis2_status_t (AXIS2_CALL *
01000                 set_doing_mtom)(
01001                     axis2_msg_ctx_t *msg_ctx,
01002                     const axis2_env_t *env,
01003                     const axis2_bool_t doing_mtom);
01004 
01011         axis2_bool_t (AXIS2_CALL *
01012                 get_doing_rest)(
01013                     const axis2_msg_ctx_t *msg_ctx,
01014                     const axis2_env_t *env);
01015 
01023         axis2_status_t (AXIS2_CALL *
01024                 set_doing_rest)(
01025                     axis2_msg_ctx_t *msg_ctx,
01026                     const axis2_env_t *env,
01027                     const axis2_bool_t doing_rest);
01028 
01038         axis2_status_t (AXIS2_CALL *
01039                 set_do_rest_through_post)(
01040                     axis2_msg_ctx_t *msg_ctx,
01041                     const axis2_env_t *env,
01042                     const axis2_bool_t do_rest_through_post);
01043 
01044 
01053         axis2_bool_t (AXIS2_CALL *
01054                 get_do_rest_through_post)(
01055                     const axis2_msg_ctx_t *msg_ctx,
01056                     const axis2_env_t *env);
01057 
01066         axis2_bool_t (AXIS2_CALL *
01067                 get_is_soap_11)(
01068                     const axis2_msg_ctx_t *msg_ctx,
01069                     const axis2_env_t *env);
01070 
01080         axis2_status_t (AXIS2_CALL *
01081                 set_is_soap_11)(
01082                     axis2_msg_ctx_t *msg_ctx,
01083                     const axis2_env_t *env,
01084                     const axis2_bool_t is_soap11);
01085 
01094         struct axis2_svc_grp_ctx *(AXIS2_CALL *
01095                 get_svc_grp_ctx)(
01096                     const axis2_msg_ctx_t *msg_ctx,
01097                     const axis2_env_t *env);
01098 
01108         axis2_status_t (AXIS2_CALL *
01109                 set_svc_grp_ctx)(
01110                     axis2_msg_ctx_t *msg_ctx,
01111                     const axis2_env_t *env,
01112                     struct axis2_svc_grp_ctx *svc_grp_ctx);
01113 
01114 
01121         struct axis2_op *(AXIS2_CALL *
01122                 get_op)(
01123                     const axis2_msg_ctx_t *msg_ctx,
01124                     const axis2_env_t *env);
01125 
01126 
01135         axis2_status_t (AXIS2_CALL *
01136                 set_op)(
01137                     axis2_msg_ctx_t *msg_ctx,
01138                     const axis2_env_t *env,
01139                     struct axis2_op *op);
01140 
01141 
01148         struct axis2_svc *(AXIS2_CALL *
01149                 get_svc)(
01150                     const axis2_msg_ctx_t *msg_ctx,
01151                     const axis2_env_t *env);
01152 
01153 
01162         axis2_status_t (AXIS2_CALL *
01163                 set_svc)(
01164                     axis2_msg_ctx_t *msg_ctx,
01165                     const axis2_env_t *env,
01166                     struct axis2_svc *svc);
01167 
01175         struct axis2_svc_grp *(AXIS2_CALL *
01176                  get_svc_grp)(
01177                      const axis2_msg_ctx_t *msg_ctx,
01178                      const axis2_env_t *env);
01179 
01188         axis2_status_t (AXIS2_CALL *
01189                 set_svc_grp)(
01190                     axis2_msg_ctx_t *msg_ctx,
01191                     const axis2_env_t *env,
01192                     struct axis2_svc_grp *svc_grp);
01193 
01194 
01201         const axis2_char_t *(AXIS2_CALL *
01202                 get_svc_grp_ctx_id)(
01203                     const axis2_msg_ctx_t *msg_ctx,
01204                     const axis2_env_t *env);
01205 
01213         axis2_status_t (AXIS2_CALL *
01214                 set_svc_grp_ctx_id)(
01215                     axis2_msg_ctx_t *msg_ctx,
01216                     const axis2_env_t *env,
01217                     const axis2_char_t *svc_grp_ctx_id);
01218 
01226         struct axis2_svc *(AXIS2_CALL *
01227                 find_svc)(
01228                     axis2_msg_ctx_t *msg_ctx,
01229                     const axis2_env_t *env);
01238         struct axis2_op *(AXIS2_CALL *
01239                 find_op)(
01240                     axis2_msg_ctx_t *msg_ctx,
01241                     const axis2_env_t *env,
01242                     struct axis2_svc *svc);
01243 
01250         axis2_bool_t (AXIS2_CALL *
01251                 is_paused)(
01252                     axis2_msg_ctx_t *msg_ctx,
01253                     const axis2_env_t *env);
01254 
01263         axis2_status_t (AXIS2_CALL *
01264                 set_options )(
01265                     axis2_msg_ctx_t *msg_ctx,
01266                     const axis2_env_t *env,
01267                     struct axis2_options *options);
01268 
01276         axis2_status_t (AXIS2_CALL *
01277                 set_flow )(
01278                     axis2_msg_ctx_t *msg_ctx,
01279                     const axis2_env_t *env,
01280                     int flow);
01281 
01288         int (AXIS2_CALL *
01289                 get_flow )(
01290                     const axis2_msg_ctx_t *msg_ctx,
01291                     const axis2_env_t *env);
01292 
01303         axis2_status_t (AXIS2_CALL *
01304                 set_execution_chain)(
01305                     axis2_msg_ctx_t *msg_ctx,
01306                     const axis2_env_t *env,
01307                     axis2_array_list_t *execution_chain);
01308 
01318         axis2_array_list_t *(AXIS2_CALL *
01319                 get_execution_chain)(
01320                     const axis2_msg_ctx_t *msg_ctx,
01321                     const axis2_env_t *env);
01322 
01331         axis2_status_t (AXIS2_CALL *
01332                 set_current_handler_index)(
01333                     axis2_msg_ctx_t *msg_ctx,
01334                     const axis2_env_t *env,
01335                     const int index);
01336 
01344         int (AXIS2_CALL *
01345                 get_current_handler_index)(
01346                     const axis2_msg_ctx_t *msg_ctx,
01347                     const axis2_env_t *env);
01348 
01356         int (AXIS2_CALL *
01357                 get_paused_handler_index)(
01358                     const axis2_msg_ctx_t *msg_ctx,
01359                     const axis2_env_t *env);
01360 
01361 
01369         axis2_status_t (AXIS2_CALL *
01370                 set_current_phase_index)(
01371                     axis2_msg_ctx_t *msg_ctx,
01372                     const axis2_env_t *env,
01373                     const int index);
01374 
01381         int (AXIS2_CALL *
01382                 get_current_phase_index)(
01383                     const axis2_msg_ctx_t *msg_ctx,
01384                     const axis2_env_t *env);
01385 
01392         int (AXIS2_CALL *
01393                 get_paused_phase_index)(
01394                     const axis2_msg_ctx_t *msg_ctx,
01395                     const axis2_env_t *env);
01396     };
01397 
01401     struct axis2_msg_ctx
01402     {
01404         axis2_msg_ctx_ops_t *ops;
01405     };
01406 
01407 
01419     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
01420     axis2_msg_ctx_create (
01421         const axis2_env_t *env,
01422         struct axis2_conf_ctx *conf_ctx,
01423         struct axis2_transport_in_desc *transport_in_desc,
01424         struct axis2_transport_out_desc *transport_out_des);
01425 
01426 
01429 #define AXIS2_MSG_CTX_GET_BASE(msg_ctx, env) \
01430       ((msg_ctx)->ops->get_base(msg_ctx, env))
01431 
01434 #define AXIS2_MSG_CTX_GET_PARENT(msg_ctx, env) \
01435       ((msg_ctx)->ops->get_parent(msg_ctx, env))
01436 
01439 #define AXIS2_MSG_CTX_SET_PARENT(msg_ctx, env, parent) \
01440       ((msg_ctx)->ops->get_parent(msg_ctx, env, parent))
01441 
01444 #define AXIS2_MSG_CTX_FREE(msg_ctx, env) \
01445       ((msg_ctx)->ops->free(msg_ctx, env))
01446 
01449 #define AXIS2_MSG_CTX_INIT(msg_ctx, env, conf) \
01450       ((msg_ctx)->ops->init(msg_ctx, env, conf))
01451 
01454 #define AXIS2_MSG_CTX_GET_FAULT_TO(msg_ctx, env) \
01455       ((msg_ctx)->ops->get_fault_to(msg_ctx, env))
01456 
01459 #define AXIS2_MSG_CTX_GET_FROM(msg_ctx, env) \
01460       ((msg_ctx)->ops->get_from(msg_ctx, env))
01461 
01464 #define AXIS2_MSG_CTX_GET_IN_FAULT_FLOW(msg_ctx, env) \
01465       ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env))
01466 
01469 #define AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(msg_ctx, env) \
01470       ((msg_ctx)->ops->get_soap_envelope(msg_ctx, env))
01471 
01474 #define AXIS2_MSG_CTX_GET_FAULT_SOAP_ENVELOPE(msg_ctx, env) \
01475       ((msg_ctx)->ops->get_fault_soap_envelope(msg_ctx, env))
01476 
01479 #define AXIS2_MSG_CTX_GET_MSG_ID(msg_ctx, env) \
01480       ((msg_ctx)->ops->get_msg_id(msg_ctx, env))
01481 
01484 #define AXIS2_MSG_CTX_GET_PROCESS_FAULT(msg_ctx, env) \
01485       ((msg_ctx)->ops->get_process_fault(msg_ctx, env))
01486 
01489 #define AXIS2_MSG_CTX_GET_RELATES_TO(msg_ctx, env) \
01490       ((msg_ctx)->ops->get_relates_to(msg_ctx, env))
01491 
01494 #define AXIS2_MSG_CTX_GET_REPLY_TO(msg_ctx, env) \
01495       ((msg_ctx)->ops->get_reply_to(msg_ctx, env))
01496 
01499 #define AXIS2_MSG_CTX_GET_RESPONSE_WRITTEN(msg_ctx, env) \
01500       ((msg_ctx)->ops->get_response_written(msg_ctx, env))
01501 
01505 #define AXIS2_MSG_CTX_GET_SERVER_SIDE(msg_ctx, env) \
01506       ((msg_ctx)->ops->get_server_side(msg_ctx, env))
01507 
01510 #define AXIS2_MSG_CTX_GET_TO(msg_ctx, env) \
01511       ((msg_ctx)->ops->get_to(msg_ctx, env))
01512 
01515 #define AXIS2_MSG_CTX_SET_FAULT_TO(msg_ctx, env, reference) \
01516       ((msg_ctx)->ops->set_fault_to(msg_ctx, env, reference))
01517 
01520 #define AXIS2_MSG_CTX_SET_FROM(msg_ctx, env, reference) \
01521       ((msg_ctx)->ops->set_from(msg_ctx, env, reference))
01522 
01525 #define AXIS2_MSG_CTX_SET_IN_FAULT_FLOW(msg_ctx, env, in_fault_flow) \
01526       ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env, in_fault_flow))
01527 
01530 #define AXIS2_MSG_CTX_SET_SOAP_ENVELOPE(msg_ctx, env, soap_envelope) \
01531       ((msg_ctx)->ops->set_soap_envelope(msg_ctx, env, soap_envelope))
01532 
01535 #define AXIS2_MSG_CTX_SET_FAULT_SOAP_ENVELOPE(msg_ctx, env, soap_envelope) \
01536       ((msg_ctx)->ops->set_fault_soap_envelope(msg_ctx, env, soap_envelope))
01537 
01540 #define AXIS2_MSG_CTX_SET_MESSAGE_ID(msg_ctx, env, message_id) \
01541       ((msg_ctx)->ops->set_message_id(msg_ctx, env, message_id))
01542 
01545 #define AXIS2_MSG_CTX_SET_PROCESS_FAULT(msg_ctx, env, process_fault) \
01546       ((msg_ctx)->ops->set_process_fault(msg_ctx, env, process_fault))
01547 
01550 #define AXIS2_MSG_CTX_SET_RELATES_TO(msg_ctx, env, reference) \
01551       ((msg_ctx)->ops->set_relates_to(msg_ctx, env, reference))
01552 
01555 #define AXIS2_MSG_CTX_SET_REPLY_TO(msg_ctx, env, reference) \
01556       ((msg_ctx)->ops->set_reply_to(msg_ctx, env, reference))
01557 
01560 #define AXIS2_MSG_CTX_SET_RESPONSE_WRITTEN(msg_ctx, env, response_written) \
01561       ((msg_ctx)->ops->set_response_written(msg_ctx, env, response_written))
01562 
01566 #define AXIS2_MSG_CTX_SET_SERVER_SIDE(msg_ctx, env, server_side) \
01567       ((msg_ctx)->ops->set_server_side(msg_ctx, env, server_side))
01568 
01571 #define AXIS2_MSG_CTX_SET_TO(msg_ctx, env, reference) \
01572       ((msg_ctx)->ops->set_to(msg_ctx, env, reference))
01573 
01576 #define AXIS2_MSG_CTX_GET_NEW_THREAD_REQUIRED(msg_ctx, env) \
01577       ((msg_ctx)->ops->set_response_written(msg_ctx, env))
01578 
01581 #define AXIS2_MSG_CTX_SET_NEW_THREAD_REQUIRED(msg_ctx, env, new_thread_required) \
01582       ((msg_ctx)->ops->set_response_written(msg_ctx, env, new_thread_required))
01583 
01586 #define AXIS2_MSG_CTX_SET_WSA_ACTION(msg_ctx, env, action_uri) \
01587       ((msg_ctx)->ops->set_wsa_action(msg_ctx, env, action_uri))
01588 
01591 #define AXIS2_MSG_CTX_GET_WSA_ACTION(msg_ctx, env) \
01592       ((msg_ctx)->ops->get_wsa_action(msg_ctx, env))
01593 
01596 #define AXIS2_MSG_CTX_SET_WSA_MESSAGE_ID(msg_ctx, env, message_id) \
01597       ((msg_ctx)->ops->set_wsa_message_id(msg_ctx, env, message_id))
01598 
01601 #define AXIS2_MSG_CTX_GET_WSA_MESSAGE_ID(msg_ctx, env) \
01602       ((msg_ctx)->ops->get_wsa_message_id(msg_ctx, env))
01603 
01606 #define AXIS2_MSG_CTX_GET_MSG_INFO_HEADERS(msg_ctx, env) \
01607       ((msg_ctx)->ops->get_msg_info_headers(msg_ctx, env))
01608 
01611 #define AXIS2_MSG_CTX_GET_PAUSED(msg_ctx, env) \
01612       ((msg_ctx)->ops->get_paused(msg_ctx, env))
01613 
01616 #define AXIS2_MSG_CTX_SET_PAUSED(msg_ctx, env, paused) \
01617       ((msg_ctx)->ops->set_paused(msg_ctx, env, paused))
01618 
01621 #define AXIS2_MSG_CTX_IS_KEEP_ALIVE(msg_ctx, env) \
01622       ((msg_ctx)->ops->is_keep_alive(msg_ctx, env))
01623 
01626 #define AXIS2_MSG_CTX_SET_KEEP_ALIVE(msg_ctx, env, keep_alive) \
01627       ((msg_ctx)->ops->set_keep_alive(msg_ctx, env, keep_alive))
01628 
01629 
01632 #define AXIS2_MSG_CTX_GET_TRANSPORT_IN_DESC(msg_ctx, env) \
01633       ((msg_ctx)->ops->get_transport_in_desc(msg_ctx, env))
01634 
01637 #define AXIS2_MSG_CTX_GET_TRANSPORT_OUT_DESC(msg_ctx, env) \
01638       ((msg_ctx)->ops->get_transport_out_desc(msg_ctx, env))
01639 
01642 #define AXIS2_MSG_CTX_SET_TRANSPORT_IN_DESC(msg_ctx, env, transport_in_desc) \
01643       ((msg_ctx)->ops->set_transport_in_desc(msg_ctx, env, transport_in_desc))
01644 
01647 #define AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC(msg_ctx, env, transport_out_desc) \
01648       ((msg_ctx)->ops->set_transport_out_desc(msg_ctx, env, transport_out_desc))
01649 
01652 #define AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env) \
01653       ((msg_ctx)->ops->get_op_ctx(msg_ctx, env))
01654 
01657 #define AXIS2_MSG_CTX_SET_OP_CTX(msg_ctx, env, op_ctx) \
01658       ((msg_ctx)->ops->set_op_ctx(msg_ctx, env, op_ctx))
01659 
01662 #define AXIS2_MSG_CTX_GET_OUTPUT_WRITTEN(msg_ctx, env) \
01663       ((msg_ctx)->ops->get_output_written(msg_ctx, env))
01664 
01667 #define AXIS2_MSG_CTX_SET_OUTPUT_WRITTEN(msg_ctx, env, output_written) \
01668       ((msg_ctx)->ops->set_output_written(msg_ctx, env, output_written))
01669 
01672 #define AXIS2_MSG_CTX_GET_SVC_CTX_ID(msg_ctx, env) \
01673       ((msg_ctx)->ops->get_svc_ctx_id(msg_ctx, env))
01674 
01677 #define AXIS2_MSG_CTX_SET_SVC_CTX_ID(msg_ctx, env, svc_ctx_id) \
01678       ((msg_ctx)->ops->set_svc_ctx_id(msg_ctx, env, svc_ctx_id))
01679 
01682 #define AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env) \
01683       ((msg_ctx)->ops->get_conf_ctx(msg_ctx, env))
01684 
01687 #define AXIS2_MSG_CTX_SET_CONF_CTX(msg_ctx, env, conf_ctx) \
01688       ((msg_ctx)->ops->set_conf_ctx(msg_ctx, env, conf_ctx))
01689 
01692 #define AXIS2_MSG_CTX_GET_SVC_CTX(msg_ctx, env) \
01693       ((msg_ctx)->ops->get_svc_ctx(msg_ctx, env))
01694 
01697 #define AXIS2_MSG_CTX_SET_SVC_CTX(msg_ctx, env, svc_ctx) \
01698       ((msg_ctx)->ops->set_svc_ctx(msg_ctx, env, svc_ctx))
01699 
01702 #define AXIS2_MSG_CTX_SET_MSG_INFO_HEADERS(msg_ctx, env, msg_info_headers) \
01703       ((msg_ctx)->ops->set_msg_info_headers(msg_ctx, env, msg_info_headers))
01704 
01707 #define AXIS2_MSG_CTX_GET_PARAMETER(msg_ctx, env, key) \
01708       ((msg_ctx)->ops->get_parameter(msg_ctx, env, key))
01709 
01713 #define AXIS2_MSG_CTX_GET_MODULE_PARAMETER(msg_ctx, env, key, module_name, handler_desc) \
01714       ((msg_ctx)->ops->get_module_parameter(msg_ctx, env, key, module_name, handler_desc))
01715 
01718 #define AXIS2_MSG_CTX_GET_PROPERTY(msg_ctx, env, key, persistent) \
01719       ((msg_ctx)->ops->get_property(msg_ctx, env, key, persistent))
01720 
01723 #define AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env, key, value, persistent) \
01724       ((msg_ctx)->ops->set_property(msg_ctx, env, key, value, persistent))
01725 
01728 #define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_NAME(msg_ctx, env) \
01729       ((msg_ctx)->ops->get_paused_handler_name(msg_ctx, env))
01730 
01733 #define AXIS2_MSG_CTX_GET_PAUSED_PHASE_NAME(msg_ctx, env) \
01734       ((msg_ctx)->ops->get_paused_phase_name(msg_ctx, env))
01735 
01738 #define AXIS2_MSG_CTX_SET_PAUSED_PHASE_NAME(msg_ctx, env, paused_phase_name) \
01739       ((msg_ctx)->ops->set_paused_phase_name(msg_ctx, env, paused_phase_name))
01740 
01743 #define AXIS2_MSG_CTX_GET_SOAP_ACTION(msg_ctx, env) \
01744       ((msg_ctx)->ops->get_soap_action(msg_ctx, env))
01745 
01748 #define AXIS2_MSG_CTX_SET_SOAP_ACTION(msg_ctx, env, soap_action) \
01749       ((msg_ctx)->ops->set_soap_action(msg_ctx, env, soap_action))
01750 
01753 #define AXIS2_MSG_CTX_GET_DOING_MTOM(msg_ctx, env) \
01754       ((msg_ctx)->ops->get_doing_mtom(msg_ctx, env))
01755 
01758 #define AXIS2_MSG_CTX_SET_DOING_MTOM(msg_ctx, env, doing_mtom) \
01759       ((msg_ctx)->ops->set_doing_mtom(msg_ctx, env, doing_mtom))
01760 
01763 #define AXIS2_MSG_CTX_GET_DOING_REST(msg_ctx, env) \
01764       ((msg_ctx)->ops->get_doing_rest(msg_ctx, env))
01765 
01768 #define AXIS2_MSG_CTX_SET_DOING_REST(msg_ctx, env, doing_rest) \
01769       ((msg_ctx)->ops->set_doing_rest(msg_ctx, env, doing_rest))
01770 
01773 #define AXIS2_MSG_CTX_SET_DO_REST_THROUGH_POST(msg_ctx, env, do_rest_through_post) \
01774       ((msg_ctx)->ops->set_do_rest_through_post(msg_ctx, env, do_rest_through_post))
01775 
01778 #define AXIS2_MSG_CTX_GET_IS_SOAP_11(msg_ctx, env) \
01779       ((msg_ctx)->ops->get_is_soap_11(msg_ctx, env))
01780 
01783 #define AXIS2_MSG_CTX_SET_IS_SOAP_11(msg_ctx, env, is_soap11) \
01784       ((msg_ctx)->ops->set_is_soap_11(msg_ctx, env, is_soap11))
01785 
01788 #define AXIS2_MSG_CTX_GET_SVC_GRP_CTX(msg_ctx, env) \
01789       ((msg_ctx)->ops->get_svc_grp_ctx(msg_ctx, env))
01790 
01793 #define AXIS2_MSG_CTX_SET_SVC_GRP_CTX(msg_ctx, env, svc_grp_ctx) \
01794       ((msg_ctx)->ops->set_svc_grp_ctx(msg_ctx, env, svc_grp_ctx))
01795 
01798 #define AXIS2_MSG_CTX_GET_OP(msg_ctx, env) \
01799       ((msg_ctx)->ops->get_op(msg_ctx, env))
01800 
01803 #define AXIS2_MSG_CTX_SET_OP(msg_ctx, env, op) \
01804       ((msg_ctx)->ops->set_op(msg_ctx, env, op))
01805 
01808 #define AXIS2_MSG_CTX_GET_SVC(msg_ctx, env) \
01809       ((msg_ctx)->ops->get_svc(msg_ctx, env))
01810 
01813 #define AXIS2_MSG_CTX_SET_SVC(msg_ctx, env, svc) \
01814       ((msg_ctx)->ops->set_svc(msg_ctx, env, svc))
01815 
01818 #define AXIS2_MSG_CTX_GET_SVC_GRP(msg_ctx, env) \
01819       ((msg_ctx)->ops->get_svc_grp(msg_ctx, env))
01820 
01823 #define AXIS2_MSG_CTX_SET_SVC_GRP(msg_ctx, env, svc_grp) \
01824       ((msg_ctx)->ops->set_svc_grp(msg_ctx, env, svc_grp))
01825 
01828 #define AXIS2_MSG_CTX_GET_SVC_GRP_CTX_ID(msg_ctx, env) \
01829       ((msg_ctx)->ops->get_svc_grp_ctx_id(msg_ctx, env))
01830 
01833 #define AXIS2_MSG_CTX_SET_SVC_GRP_CTX_ID(msg_ctx, env, svc_grp_ctx_id) \
01834       ((msg_ctx)->ops->set_svc_grp_ctx_id(msg_ctx, env, svc_grp_ctx_id))
01835 
01838 #define AXIS2_MSG_CTX_IS_PAUSED(msg_ctx, env) \
01839       ((msg_ctx)->ops->is_paused(msg_ctx, env))
01840 
01843 #define AXIS2_MSG_CTX_FIND_SVC(msg_ctx, env) \
01844       ((msg_ctx)->ops->find_svc(msg_ctx, env))
01845 
01848 #define AXIS2_MSG_CTX_FIND_OP(msg_ctx, env, svc) \
01849       ((msg_ctx)->ops->find_op(msg_ctx, env, svc))
01850 
01853 #define AXIS2_MSG_CTX_SET_OPTIONS(msg_ctx, env, options) \
01854       ((msg_ctx)->ops->set_options(msg_ctx, env, options))
01855 
01858 #define AXIS2_MSG_CTX_SET_FLOW(msg_ctx, env, flow) \
01859       ((msg_ctx)->ops->set_flow(msg_ctx, env, flow))
01860 
01863 #define AXIS2_MSG_CTX_GET_FLOW(msg_ctx, env) \
01864       ((msg_ctx)->ops->get_flow(msg_ctx, env))
01865 
01868 #define AXIS2_MSG_CTX_SET_EXECUTION_CHAIN(msg_ctx, env, chain) \
01869       ((msg_ctx)->ops->set_execution_chain(msg_ctx, env, chain))
01870 
01873 #define AXIS2_MSG_CTX_GET_EXECUTION_CHAIN(msg_ctx, env) \
01874       ((msg_ctx)->ops->get_execution_chain(msg_ctx, env))
01875 
01878 #define AXIS2_MSG_CTX_SET_CURRENT_HANDLER_INDEX(msg_ctx, env, index) \
01879       ((msg_ctx)->ops->set_current_handler_index(msg_ctx, env, index))
01880 
01883 #define AXIS2_MSG_CTX_GET_CURRENT_HANDLER_INDEX(msg_ctx, env) \
01884       ((msg_ctx)->ops->get_current_handler_index(msg_ctx, env))
01885 
01888 #define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_INDEX(msg_ctx, env) \
01889       ((msg_ctx)->ops->get_paused_handler_index(msg_ctx, env))
01890 
01893 #define AXIS2_MSG_CTX_SET_CURRENT_PHASE_INDEX(msg_ctx, env, index) \
01894       ((msg_ctx)->ops->set_current_phase_index(msg_ctx, env, index))
01895 
01898 #define AXIS2_MSG_CTX_GET_CURRENT_PHASE_INDEX(msg_ctx, env) \
01899       ((msg_ctx)->ops->get_current_phase_index(msg_ctx, env))
01900 
01903 #define AXIS2_MSG_CTX_GET_PAUSED_PHASE_INDEX(msg_ctx, env) \
01904       ((msg_ctx)->ops->get_paused_phase_index(msg_ctx, env))
01905 
01907 #ifdef __cplusplus
01908 }
01909 #endif
01910 
01911 #endif                          /* AXIS2_MSG_CTX_H */

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