axis2_handler.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_HANDLER_H
00019 #define AXIS2_HANDLER_H
00020 
00040 #include <axis2_defines.h>
00041 #include <axutil_qname.h>
00042 #include <axutil_param.h>
00043 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00050     typedef struct axis2_handler axis2_handler_t;
00051 
00052     struct axis2_handler_desc;
00053     struct axis2_msg_ctx;
00054 
00055 
00062     AXIS2_EXTERN void AXIS2_CALL
00063     axis2_handler_free(axis2_handler_t *handler,
00064         const axutil_env_t *env);
00065 
00066 
00074     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00075     axis2_handler_init(axis2_handler_t *handler,
00076         const axutil_env_t *env,
00077         struct axis2_handler_desc *handler_desc);
00078 
00090     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00091     axis2_handler_invoke(axis2_handler_t *handler,
00092         const axutil_env_t *env,
00093         struct axis2_msg_ctx *msg_ctx);
00094 
00101     AXIS2_EXTERN const axutil_string_t *AXIS2_CALL
00102     axis2_handler_get_name(const axis2_handler_t *handler,
00103         const axutil_env_t *env);
00104 
00111     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
00112     axis2_handler_get_param(const axis2_handler_t *handler,
00113         const axutil_env_t *env,
00114         const axis2_char_t *name);
00115 
00122     AXIS2_EXTERN struct axis2_handler_desc *AXIS2_CALL
00123     axis2_handler_get_handler_desc(const axis2_handler_t *handler,
00124         const axutil_env_t *env);
00125         
00126     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00127     axis2_handler_set_invoke(axis2_handler_t *handler,
00128         const axutil_env_t *env, 
00129         void *func);
00130 
00131 
00138     typedef axis2_handler_t *(AXIS2_CALL *
00139     AXIS2_HANDLER_CREATE_FUNC)(const axutil_env_t *env,
00140         const axutil_string_t *name);
00141 
00147     AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
00148     axis2_handler_create(const axutil_env_t *env);
00149 
00157     AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
00158     axis2_ctx_handler_create(const axutil_env_t *env, 
00159         const axutil_string_t *qname);
00160 
00163 #ifdef __cplusplus
00164 }
00165 #endif
00166 
00167 #endif    /* AXIS2_HANDLER_H */

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