# sandesha2_next_msg_bean.h

    00001 /*
    00002  * copyright 1999-2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
    00005  * use this file except in compliance with the License. You may obtain a copy of
    00006  * 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, WITHOUT
    00012  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    00013  * License for the specific language governing permissions and limitations under
    00014  * the License.
    00015  */
    00016
    00017 #ifndef SANDESHA2_NEXT_MSG_BEAN_H
    00018 #define SANDESHA2_NEXT_MSG_BEAN_H
    00019
    00020 #include <axutil_utils_defines.h>
    00021 #include <axutil_utils_defines.h>
    00022 #include <axutil_env.h>
    00023
    00024 #ifdef __cplusplus
    00025 extern "C"
    00026 {
    00027 #endif
    00028
    00029 typedef struct sandesha2_next_msg_bean sandesha2_next_msg_bean_t;
    00030
    00031 /* constructors
    00032  */
    00033 AXIS2_EXTERN sandesha2_next_msg_bean_t* AXIS2_CALL
    00034         sandesha2_next_msg_bean_create(
    00035     const axutil_env_t *env);
    00036
    00037 AXIS2_EXTERN sandesha2_next_msg_bean_t* AXIS2_CALL
    00038 sandesha2_next_msg_bean_create_with_data(
    00039     const axutil_env_t *env,
    00040     axis2_char_t *seq_id,
    00041     long msg_no);
    00042
    00043 void AXIS2_CALL
    00044 sandesha2_next_msg_bean_free (
    00045      sandesha2_next_msg_bean_t *next_msg_bean,
    00046      const axutil_env_t *env);
    00047
    00048 axis2_char_t* AXIS2_CALL
    00049 sandesha2_next_msg_bean_get_seq_id(
    00050     sandesha2_next_msg_bean_t *next_msg_bean,
    00051     const axutil_env_t *env);
    00052
    00053 void AXIS2_CALL
    00054 sandesha2_next_msg_bean_set_seq_id(
    00055     sandesha2_next_msg_bean_t *next_msg_bean,
    00056     const axutil_env_t *env,
    00057     axis2_char_t *seq_id);
    00058
    00059 axis2_char_t* AXIS2_CALL
    00060 sandesha2_next_msg_bean_get_internal_seq_id(
    00061     sandesha2_next_msg_bean_t *next_msg_bean,
    00062     const axutil_env_t *env);
    00063
    00064 void AXIS2_CALL
    00065 sandesha2_next_msg_bean_set_internal_seq_id(
    00066     sandesha2_next_msg_bean_t *next_msg_bean,
    00067     const axutil_env_t *env,
    00068     axis2_char_t *internal_seq_id);
    00069
    00070 long AXIS2_CALL
    00071 sandesha2_next_msg_bean_get_next_msg_no_to_process(
    00072     sandesha2_next_msg_bean_t *next_msg_bean,
    00073     const axutil_env_t *env);
    00074
    00075 void AXIS2_CALL
    00076 sandesha2_next_msg_bean_set_next_msg_no_to_process(
    00077     sandesha2_next_msg_bean_t *next_msg_bean,
    00078     const axutil_env_t *env, long next_msg_no);
    00079
    00080 axis2_bool_t AXIS2_CALL
    00081 sandesha2_next_msg_bean_is_polling_mode(
    00082     sandesha2_next_msg_bean_t *next_msg_bean,
    00083     const axutil_env_t *env);
    00084
    00085 void AXIS2_CALL
    00086 sandesha2_next_msg_bean_set_polling_mode(
    00087     sandesha2_next_msg_bean_t *next_msg_bean,
    00088     const axutil_env_t *env,
    00089     axis2_bool_t polling_mode);
    00090
    00091 axis2_char_t *AXIS2_CALL
    00092 sandesha2_next_msg_bean_get_ref_msg_key(
    00093     sandesha2_next_msg_bean_t *next_msg_bean,
    00094     const axutil_env_t *env);
    00095
    00096 void AXIS2_CALL
    00097 sandesha2_next_msg_bean_set_ref_msg_key(
    00098     sandesha2_next_msg_bean_t *next_msg_bean,
    00099     const axutil_env_t *env,
    00100     axis2_char_t *ref_msg_key);
    00101
    00102 #ifdef __cplusplus
    00103 }
    00104
    00105 #endif
    00106
    00107 #endif /* End of SANDESHA2_NEXT_MSG_BEAN_H */