axis2_msg_info_headers.h

00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef AXIS2_MSG_INFO_HEADERS_H
00019 #define AXIS2_MSG_INFO_HEADERS_H
00020 
00038 #include <axis2_defines.h>
00039 #include <axutil_env.h>
00040 #include <axis2_const.h>
00041 #include <axutil_array_list.h>
00042 #include <axis2_endpoint_ref.h>
00043 #include <axis2_any_content_type.h>
00044 #include <axis2_svc_name.h>
00045 #include <axis2_relates_to.h>
00046 #include <axiom_node.h>
00047 
00048 #ifdef __cplusplus
00049 extern "C"
00050 {
00051 #endif
00052 
00054     typedef struct axis2_msg_info_headers axis2_msg_info_headers_t;
00055 
00063     AXIS2_EXTERN axis2_msg_info_headers_t *AXIS2_CALL
00064     axis2_msg_info_headers_create(
00065         const axutil_env_t *env,
00066         axis2_endpoint_ref_t *to,
00067         const axis2_char_t *action);
00068 
00077     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
00078     axis2_msg_info_headers_get_to(const axis2_msg_info_headers_t *msg_info_headers,
00079         const axutil_env_t *env);
00080 
00090     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00091     axis2_msg_info_headers_set_to(struct axis2_msg_info_headers *msg_info_headers,
00092         const axutil_env_t *env,
00093         axis2_endpoint_ref_t *to);
00094 
00103     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
00104     axis2_msg_info_headers_get_from(const axis2_msg_info_headers_t *msg_info_headers,
00105         const axutil_env_t *env);
00106 
00116     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00117     axis2_msg_info_headers_set_from(struct axis2_msg_info_headers *msg_info_headers,
00118         const axutil_env_t *env,
00119         axis2_endpoint_ref_t *from);
00120 
00129     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
00130     axis2_msg_info_headers_get_reply_to(const axis2_msg_info_headers_t *msg_info_headers,
00131         const axutil_env_t *env);
00132 
00142     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00143     axis2_msg_info_headers_set_reply_to(struct axis2_msg_info_headers *msg_info_headers,
00144         const axutil_env_t *env,
00145         axis2_endpoint_ref_t *reply_to);
00146 
00158     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00159     axis2_msg_info_headers_set_reply_to_none(struct axis2_msg_info_headers *msg_info_headers,
00160         const axutil_env_t *env, 
00161         const axis2_bool_t none);
00162 
00174     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00175     axis2_msg_info_headers_get_reply_to_none(const axis2_msg_info_headers_t *msg_info_headers,
00176         const axutil_env_t *env);
00177 
00192     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00193     axis2_msg_info_headers_set_reply_to_anonymous(struct axis2_msg_info_headers *msg_info_headers,
00194         const axutil_env_t *env, 
00195         const axis2_bool_t anonymous);
00196 
00209     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00210     axis2_msg_info_headers_get_reply_to_anonymous(const axis2_msg_info_headers_t *msg_info_headers,
00211         const axutil_env_t *env);
00212 
00221     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
00222     axis2_msg_info_headers_get_fault_to(const axis2_msg_info_headers_t *msg_info_headers,
00223         const axutil_env_t *env);
00224 
00234     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00235     axis2_msg_info_headers_set_fault_to(struct axis2_msg_info_headers *msg_info_headers,
00236         const axutil_env_t *env,
00237         axis2_endpoint_ref_t *fault_to);
00238 
00251     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00252     axis2_msg_info_headers_set_fault_to_none(struct axis2_msg_info_headers *msg_info_headers,
00253         const axutil_env_t *env, 
00254         const axis2_bool_t none);
00255 
00267     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00268     axis2_msg_info_headers_get_fault_to_none(const axis2_msg_info_headers_t *msg_info_headers,
00269         const axutil_env_t *env);
00270 
00285     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00286     axis2_msg_info_headers_set_fault_to_anonymous(struct axis2_msg_info_headers *msg_info_headers,
00287         const axutil_env_t *env, 
00288         const axis2_bool_t anonymous);
00289 
00302     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00303     axis2_msg_info_headers_get_fault_to_anonymous(const axis2_msg_info_headers_t *msg_info_headers,
00304         const axutil_env_t *env);
00305 
00314     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00315     axis2_msg_info_headers_get_action(const axis2_msg_info_headers_t *msg_info_headers,
00316         const axutil_env_t *env);
00317 
00327     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00328     axis2_msg_info_headers_set_action(struct axis2_msg_info_headers *msg_info_headers,
00329         const axutil_env_t *env,
00330         const axis2_char_t *action);
00331 
00339     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00340     axis2_msg_info_headers_get_message_id(const axis2_msg_info_headers_t *msg_info_headers,
00341         const axutil_env_t *env);
00342 
00351     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00352     axis2_msg_info_headers_set_message_id(struct axis2_msg_info_headers *msg_info_headers,
00353         const axutil_env_t *env,
00354         const axis2_char_t *message_id);
00355 
00364     AXIS2_EXTERN axis2_relates_to_t *AXIS2_CALL
00365     axis2_msg_info_headers_get_relates_to(const axis2_msg_info_headers_t *msg_info_headers,
00366         const axutil_env_t *env);
00367 
00376     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00377     axis2_msg_info_headers_set_relates_to(struct axis2_msg_info_headers *msg_info_headers,
00378         const axutil_env_t *env,
00379         axis2_relates_to_t *relates_to);
00380 
00388     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00389     axis2_msg_info_headers_get_all_ref_params(const axis2_msg_info_headers_t *msg_info_headers,
00390         const axutil_env_t *env);
00391 
00401     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00402     axis2_msg_info_headers_add_ref_param(struct axis2_msg_info_headers *msg_info_headers,
00403         const axutil_env_t *env,
00404         axiom_node_t *ref_param);
00405 
00412     AXIS2_EXTERN void AXIS2_CALL
00413     axis2_msg_info_headers_free(struct axis2_msg_info_headers *msg_info_headers,
00414         const axutil_env_t *env);
00415 
00418 #ifdef __cplusplus
00419 }
00420 #endif
00421 
00422 #endif    /* AXIS2_MSG_INFO_HEADERS_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6