# sandesha2_property_bean.h

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 2004,2005 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 #ifndef SANDESHA2_PROPERTY_BEAN_H
    00018 #define SANDESHA2_PROPERTY_BEAN_H
    00019
    00025 #include <axutil_utils_defines.h>
    00026 #include <axutil_env.h>
    00027 #include <axutil_array_list.h>
    00028
    00029 #ifdef __cplusplus
    00030 extern "C"
    00031 {
    00032 #endif
    00033
    00039 typedef struct sandesha2_property_bean_t sandesha2_property_bean_t;
    00040
    00041 AXIS2_EXTERN sandesha2_property_bean_t* AXIS2_CALL
    00042 sandesha2_property_bean_create(
    00043         const axutil_env_t *env);
    00044
    00045 long AXIS2_CALL
    00046 sandesha2_property_bean_get_inactive_timeout_interval(
    00047     sandesha2_property_bean_t *bean,
    00048     const axutil_env_t *env);
    00049
    00050 axis2_status_t AXIS2_CALL
    00051 sandesha2_property_bean_set_inactive_timeout_interval(
    00052     sandesha2_property_bean_t *bean,
    00053     const axutil_env_t *env,
    00054     long interval);
    00055
    00056 axis2_status_t AXIS2_CALL
    00057 sandesha2_property_bean_set_inactive_timeout_interval_with_units(
    00058     sandesha2_property_bean_t *bean,
    00059     const axutil_env_t *env,
    00060     long interval,
    00061     axis2_char_t *units);
    00062
    00063 long AXIS2_CALL
    00064 sandesha2_property_bean_get_ack_interval(
    00065     sandesha2_property_bean_t *bean,
    00066     const axutil_env_t *env);
    00067
    00068 axis2_status_t AXIS2_CALL
    00069 sandesha2_property_bean_set_ack_interval(
    00070     sandesha2_property_bean_t *bean,
    00071     const axutil_env_t *env,
    00072     long interval);
    00073
    00074 long AXIS2_CALL
    00075 sandesha2_property_bean_get_retrans_interval(
    00076     sandesha2_property_bean_t *bean,
    00077     const axutil_env_t *env);
    00078
    00079 axis2_status_t AXIS2_CALL
    00080 sandesha2_property_bean_set_retrans_interval(
    00081     sandesha2_property_bean_t *bean,
    00082     const axutil_env_t *env,
    00083     long interval);
    00084
    00085 axis2_bool_t AXIS2_CALL
    00086 sandesha2_property_bean_is_exp_backoff(
    00087     sandesha2_property_bean_t *bean,
    00088     const axutil_env_t *env);
    00089
    00090 axis2_status_t AXIS2_CALL
    00091 sandesha2_property_bean_set_exp_backoff(
    00092     sandesha2_property_bean_t *bean,
    00093     const axutil_env_t *env,
    00094     axis2_bool_t exp_backoff);
    00095
    00096 axis2_char_t* AXIS2_CALL
    00097 sandesha2_property_bean_get_in_mem_storage_mgr(
    00098     sandesha2_property_bean_t *bean,
    00099     const axutil_env_t *env);
    00100
    00101 axis2_status_t AXIS2_CALL
    00102 sandesha2_property_bean_set_in_mem_storage_mgr(
    00103     sandesha2_property_bean_t *bean,
    00104     const axutil_env_t *env,
    00105     axis2_char_t *manager);
    00106
    00107 axis2_char_t* AXIS2_CALL
    00108 sandesha2_property_bean_get_permanent_storage_mgr(
    00109     sandesha2_property_bean_t *bean,
    00110     const axutil_env_t *env);
    00111
    00112 axis2_status_t AXIS2_CALL
    00113 sandesha2_property_bean_set_permanent_storage_mgr(
    00114     sandesha2_property_bean_t *bean,
    00115     const axutil_env_t *env,
    00116     axis2_char_t *manager);
    00117
    00125 axis2_char_t* AXIS2_CALL
    00126 sandesha2_property_bean_get_storage_mgr(
    00127     sandesha2_property_bean_t *bean,
    00128     const axutil_env_t *env);
    00129
    00130 axis2_status_t AXIS2_CALL
    00131 sandesha2_property_bean_set_storage_mgr(
    00132     sandesha2_property_bean_t *bean,
    00133     const axutil_env_t *env,
    00134     axis2_char_t *manager);
    00135
    00136 axis2_bool_t AXIS2_CALL
    00137 sandesha2_property_bean_is_in_order(
    00138     sandesha2_property_bean_t *bean,
    00139     const axutil_env_t *env);
    00140
    00141 axis2_status_t AXIS2_CALL
    00142 sandesha2_property_bean_set_in_order(
    00143     sandesha2_property_bean_t *bean,
    00144     const axutil_env_t *env,
    00145     axis2_bool_t in_order);
    00146
    00147 axutil_array_list_t* AXIS2_CALL
    00148 sandesha2_property_bean_get_msg_types_to_drop(
    00149     sandesha2_property_bean_t *bean,
    00150     const axutil_env_t *env);
    00151
    00152 axis2_status_t AXIS2_CALL
    00153 sandesha2_property_bean_set_msg_types_to_drop(
    00154     sandesha2_property_bean_t *bean,
    00155     const axutil_env_t *env,
    00156     axutil_array_list_t *msg_types);
    00157
    00158 axis2_status_t AXIS2_CALL
    00159 sandesha2_property_bean_add_msg_type_to_drop(
    00160     sandesha2_property_bean_t *bean,
    00161     const axutil_env_t *env,
    00162     int msg_type);
    00163
    00164 int AXIS2_CALL
    00165 sandesha2_property_bean_get_max_retrans_count(
    00166     sandesha2_property_bean_t *bean,
    00167     const axutil_env_t *env);
    00168
    00169 axis2_status_t AXIS2_CALL
    00170 sandesha2_property_bean_set_max_retrans_count(
    00171     sandesha2_property_bean_t *bean,
    00172     const axutil_env_t *env,
    00173     int count);
    00174
    00175 axis2_char_t *AXIS2_CALL
    00176 sandesha2_property_bean_get_db_path(
    00177     sandesha2_property_bean_t *bean,
    00178     const axutil_env_t *env);
    00179
    00180 axis2_status_t AXIS2_CALL
    00181 sandesha2_property_bean_set_db_path(
    00182     sandesha2_property_bean_t *bean,
    00183     const axutil_env_t *env,
    00184     axis2_char_t *db_path);
    00185
    00186 void AXIS2_CALL
    00187 sandesha2_property_bean_free(
    00188     sandesha2_property_bean_t *bean,
    00189     const axutil_env_t *env);
    00190
    00191 void AXIS2_CALL
    00192 sandesha2_property_bean_free_void_arg(
    00193     void *arg,
    00194     const axutil_env_t *env);
    00195
    00196 int AXIS2_CALL
    00197 sandesha2_property_bean_get_terminate_delay (
    00198     sandesha2_property_bean_t *bean,
    00199     const axutil_env_t *env);
    00200
    00201 axis2_status_t AXIS2_CALL
    00202 sandesha2_property_bean_set_terminate_delay(
    00203     sandesha2_property_bean_t *bean,
    00204     const axutil_env_t *env,
    00205     int delay);
    00206
    00207 int AXIS2_CALL
    00208 sandesha2_property_bean_get_polling_delay (
    00209     sandesha2_property_bean_t *bean,
    00210     const axutil_env_t *env);
    00211
    00212 axis2_status_t AXIS2_CALL
    00213 sandesha2_property_bean_set_polling_delay(
    00214     sandesha2_property_bean_t *bean,
    00215     const axutil_env_t *env,
    00216     int delay);
    00217
    00219 #ifdef __cplusplus
    00220 }
    00221 #endif
    00222
    00223 #endif /*SANDESHA2_PROPERTY_BEAN_H*/