axis2_engine.h

Go to the documentation of this file.
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_ENGINE_H
00019 #define AXIS2_ENGINE_H
00020 
00037 #include <axis2_defines.h>
00038 #include <axutil_array_list.h>
00039 #include <axutil_env.h>
00040 #include <axis2_conf_ctx.h>
00041 
00042 #ifdef __cplusplus
00043 extern "C"
00044 {
00045 #endif
00046 
00048     typedef struct axis2_engine axis2_engine_t;
00049 
00050     struct axiom_soap_fault;
00051 
00052 
00065     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00066     axis2_engine_send(axis2_engine_t *engine,
00067         const axutil_env_t *env,
00068         axis2_msg_ctx_t *msg_ctx);
00069     
00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00083     axis2_engine_receive(axis2_engine_t *engine,
00084         const axutil_env_t *env,
00085         axis2_msg_ctx_t *msg_ctx);
00086     
00095     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00096     axis2_engine_send_fault(axis2_engine_t *engine,
00097         const axutil_env_t *env,
00098         axis2_msg_ctx_t *msg_ctx);
00099                 
00108     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00109     axis2_engine_receive_fault(axis2_engine_t *engine,
00110         const axutil_env_t *env,
00111         axis2_msg_ctx_t *msg_ctx);
00112                 
00122     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
00123     axis2_engine_create_fault_msg_ctx(axis2_engine_t *engine,
00124         const axutil_env_t *env,
00125         axis2_msg_ctx_t *processing_context);
00126      
00127 
00141     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00142     axis2_engine_invoke_phases(axis2_engine_t *engine,
00143         const axutil_env_t *env,
00144         axutil_array_list_t *phases,
00145         axis2_msg_ctx_t *msg_ctx);
00146 
00163     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00164     axis2_engine_resume_invocation_phases(axis2_engine_t *engine,
00165         const axutil_env_t *env,
00166         axutil_array_list_t *phases,
00167         axis2_msg_ctx_t *msg_ctx);
00168 
00176     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00177     axis2_engine_get_sender_fault_code(const axis2_engine_t *engine,
00178         const axutil_env_t *env,
00179         const axis2_char_t *soap_namespace);
00180 
00181 
00188     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00189     axis2_engine_get_receiver_fault_code(const axis2_engine_t *engine,
00190         const axutil_env_t *env,
00191         const axis2_char_t *soap_namespace);
00192 
00199     AXIS2_EXTERN void AXIS2_CALL
00200     axis2_engine_free(axis2_engine_t *engine,
00201         const axutil_env_t *env);
00202 
00212     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00213     axis2_engine_resume_receive(axis2_engine_t *engine,
00214         const axutil_env_t *env,
00215         axis2_msg_ctx_t *msg_ctx);
00216 
00226     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00227     axis2_engine_resume_send(axis2_engine_t *engine,
00228         const axutil_env_t *env,
00229         axis2_msg_ctx_t *msg_ctx);
00230 
00237     AXIS2_EXTERN axis2_engine_t *AXIS2_CALL
00238     axis2_engine_create(const axutil_env_t *env,
00239         axis2_conf_ctx_t *conf_ctx);
00240 
00241 #ifdef __cplusplus
00242 }
00243 #endif
00244 
00245 #endif                          /* AXIS2_ENGINE_H */

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