axis2_msg.h

00001 
00002 /*
00003  * Licensed to the Apache Software Foundation (ASF) under one or more
00004  * contributor license agreements.  See the NOTICE file distributed with
00005  * this work for additional information regarding copyright ownership.
00006  * The ASF licenses this file to You under the Apache License, Version 2.0
00007  * (the "License"); you may not use this file except in compliance with
00008  * the License.  You may obtain a copy of the License at
00009  *
00010  *      http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 #ifndef AXIS2_MSG_H
00020 #define AXIS2_MSG_H
00021 
00032 #include <axutil_param_container.h>
00033 #include <axis2_op.h>
00034 #include <axutil_array_list.h>
00035 #include <axis2_description.h>
00036 #include <axis2_phase_meta.h>
00037 
00038 #define AXIS2_MSG_IN            "in"
00039 #define AXIS2_MSG_OUT           "out"
00040 #define AXIS2_MSG_IN_FAULT      "InFaultMessage"
00041 #define AXIS2_MSG_OUT_FAULT     "OutFaultMessage"
00042 
00043 #ifdef __cplusplus
00044 extern "C"
00045 {
00046 #endif
00047 
00049     typedef struct axis2_msg axis2_msg_t;
00050 
00056     AXIS2_EXTERN axis2_msg_t *AXIS2_CALL
00057     axis2_msg_create(
00058         const axutil_env_t * env);
00059 
00066     AXIS2_EXTERN void AXIS2_CALL
00067     axis2_msg_free(
00068         axis2_msg_t * msg,
00069         const axutil_env_t * env);
00070 
00079     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00080     axis2_msg_add_param(
00081         axis2_msg_t * msg,
00082         const axutil_env_t * env,
00083         axutil_param_t * param);
00084 
00093     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
00094     axis2_msg_get_param(
00095         const axis2_msg_t * msg,
00096         const axutil_env_t * env,
00097         const axis2_char_t * name);
00098 
00106     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00107     axis2_msg_get_all_params(
00108         const axis2_msg_t * msg,
00109         const axutil_env_t * env);
00110 
00118     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00119     axis2_msg_is_param_locked(
00120         axis2_msg_t * msg,
00121         const axutil_env_t * env,
00122         const axis2_char_t * param_name);
00123 
00132     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00133     axis2_msg_set_parent(
00134         axis2_msg_t * msg,
00135         const axutil_env_t * env,
00136         axis2_op_t * op);
00137 
00145     AXIS2_EXTERN axis2_op_t *AXIS2_CALL
00146     axis2_msg_get_parent(
00147         const axis2_msg_t * msg,
00148         const axutil_env_t * env);
00149 
00157     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00158     axis2_msg_get_flow(
00159         const axis2_msg_t * msg,
00160         const axutil_env_t * env);
00161 
00170     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00171     axis2_msg_set_flow(
00172         axis2_msg_t * msg,
00173         const axutil_env_t * env,
00174         axutil_array_list_t * flow);
00175 
00182     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00183     axis2_msg_get_direction(
00184         const axis2_msg_t * msg,
00185         const axutil_env_t * env);
00186 
00194     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00195     axis2_msg_set_direction(
00196         axis2_msg_t * msg,
00197         const axutil_env_t * env,
00198         const axis2_char_t * direction);
00199 
00206     AXIS2_EXTERN const axutil_qname_t *AXIS2_CALL
00207 
00208     axis2_msg_get_element_qname(
00209         const axis2_msg_t * msg,
00210         const axutil_env_t * env);
00211 
00220     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00221     axis2_msg_set_element_qname(
00222         axis2_msg_t * msg,
00223         const axutil_env_t * env,
00224         const axutil_qname_t * element_qname);
00225 
00232     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00233     axis2_msg_get_name(
00234         const axis2_msg_t * msg,
00235         const axutil_env_t * env);
00236 
00244     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00245     axis2_msg_set_name(
00246         axis2_msg_t * msg,
00247         const axutil_env_t * env,
00248         const axis2_char_t * name);
00249 
00256     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
00257     axis2_msg_get_base(
00258         const axis2_msg_t * msg,
00259         const axutil_env_t * env);
00260 
00261     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
00262 
00263     axis2_msg_get_param_container(
00264         const axis2_msg_t * msg,
00265         const axutil_env_t * env);
00266 
00274     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00275     axis2_msg_increment_ref(
00276         axis2_msg_t * msg,
00277         const axutil_env_t * env);
00278 
00280 #ifdef __cplusplus
00281 }
00282 #endif
00283 #endif                          /* AXIS2_MSG_H */

Generated on Tue Jan 8 01:23:15 2008 for Axis2/C by  doxygen 1.5.1