# axis2_transport_in_desc.h

Go to the documentation of this file.

    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_TRANSPORT_IN_DESC_H
    00020 #define AXIS2_TRANSPORT_IN_DESC_H
    00021
    00040 #include <axis2_const.h>
    00041 #include <axutil_error.h>
    00042 #include <axis2_defines.h>
    00043 #include <axutil_env.h>
    00044 #include <axutil_allocator.h>
    00045 #include <axutil_array_list.h>
    00046
    00047 /*#include <axis2_transport_receiver.h>*/
    00048 #include <axis2_phase_meta.h>
    00049 #include <axis2_phase.h>
    00050 #include <axis2_flow.h>
    00051
    00052 #ifdef __cplusplus
    00053 extern "C"
    00054 {
    00055 #endif
    00056
    00058     typedef struct axis2_transport_in_desc axis2_transport_in_desc_t;
    00059
    00060     struct axis2_phase;
    00061     struct axis2_transport_receiver;
    00062
    00069     AXIS2_EXTERN void AXIS2_CALL
    00070     axis2_transport_in_desc_free(
    00071         axis2_transport_in_desc_t * transport_in_desc,
    00072         const axutil_env_t * env);
    00073
    00081     AXIS2_EXTERN void AXIS2_CALL
    00082     axis2_transport_in_desc_free_void_arg(
    00083         void *transport_in,
    00084         const axutil_env_t * env);
    00085
    00092     AXIS2_EXTERN AXIS2_TRANSPORT_ENUMS AXIS2_CALL
    00093
    00094     axis2_transport_in_desc_get_enum(
    00095         const axis2_transport_in_desc_t * transport_in,
    00096         const axutil_env_t * env);
    00097
    00105     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00106     axis2_transport_in_desc_set_enum(
    00107         struct axis2_transport_in_desc *transport_in,
    00108         const axutil_env_t * env,
    00109         const AXIS2_TRANSPORT_ENUMS trans_enum);
    00110
    00119     AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
    00120
    00121                 axis2_transport_in_desc_get_in_flow(
    00122                     const axis2_transport_in_desc_t * transport_in,
    00123                     const axutil_env_t * env);
    00124
    00134     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00135
    00136     axis2_transport_in_desc_set_in_flow(
    00137         struct axis2_transport_in_desc *transport_in,
    00138         const axutil_env_t * env,
    00139         struct axis2_flow *in_flow);
    00140
    00149     AXIS2_EXTERN struct axis2_flow *AXIS2_CALL
    00150
    00151                 axis2_transport_in_desc_get_fault_in_flow(
    00152                     const axis2_transport_in_desc_t * transport_in,
    00153                     const axutil_env_t * env);
    00154
    00164     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00165
    00166     axis2_transport_in_desc_set_fault_in_flow(
    00167         struct axis2_transport_in_desc *transport_in,
    00168         const axutil_env_t * env,
    00169         struct axis2_flow *fault_in_flow);
    00170
    00178     AXIS2_EXTERN struct axis2_transport_receiver *AXIS2_CALL
    00179
    00180                 axis2_transport_in_desc_get_recv(
    00181                     const axis2_transport_in_desc_t * transport_in,
    00182                     const axutil_env_t * env);
    00183
    00192     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00193     axis2_transport_in_desc_set_recv(
    00194         struct axis2_transport_in_desc *transport_in,
    00195         const axutil_env_t * env,
    00196         struct axis2_transport_receiver *recv);
    00197
    00204     AXIS2_EXTERN struct axis2_phase *AXIS2_CALL
    00205
    00206                 axis2_transport_in_desc_get_in_phase(
    00207                     const axis2_transport_in_desc_t * transport_in,
    00208                     const axutil_env_t * env);
    00209
    00218     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00219
    00220     axis2_transport_in_desc_set_in_phase(
    00221         struct axis2_transport_in_desc *transport_in,
    00222         const axutil_env_t * env,
    00223         struct axis2_phase *in_phase);
    00224
    00231     AXIS2_EXTERN struct axis2_phase *AXIS2_CALL
    00232
    00233                 axis2_transport_in_desc_get_fault_phase(
    00234                     const axis2_transport_in_desc_t * transport_in,
    00235                     const axutil_env_t * env);
    00236
    00244     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00245
    00246     axis2_transport_in_desc_set_fault_phase(
    00247         struct axis2_transport_in_desc *transport_in,
    00248         const axutil_env_t * env,
    00249         struct axis2_phase *fault_phase);
    00250
    00259     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00260     axis2_transport_in_desc_add_param(
    00261         axis2_transport_in_desc_t * transport_in_desc,
    00262         const axutil_env_t * env,
    00263         axutil_param_t * param);
    00264
    00273     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
    00274
    00275     axis2_transport_in_desc_get_param(
    00276         const axis2_transport_in_desc_t * transport_in_desc,
    00277         const axutil_env_t * env,
    00278         const axis2_char_t * param_name);
    00279
    00287     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00288
    00289     axis2_transport_in_desc_is_param_locked(
    00290         axis2_transport_in_desc_t * transport_in_desc,
    00291         const axutil_env_t * env,
    00292         const axis2_char_t * param_name);
    00293
    00294     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
    00295
    00296     axis2_transport_in_desc_param_container(
    00297         const axis2_transport_in_desc_t * transport_in_desc,
    00298         const axutil_env_t * env);
    00299
    00306     AXIS2_EXTERN axis2_transport_in_desc_t *AXIS2_CALL
    00307
    00308     axis2_transport_in_desc_create(
    00309         const axutil_env_t * env,
    00310         const AXIS2_TRANSPORT_ENUMS trans_enum);
    00311
    00319     AXIS2_EXTERN void AXIS2_CALL
    00320     axis2_transport_in_desc_free_void_arg(
    00321         void *transport_in,
    00322         const axutil_env_t * env);
    00323
    00326 #ifdef __cplusplus
    00327 }
    00328 #endif
    00329 #endif                          /* AXIS2_TRANSPORT_IN_DESC_H */