sandesha2_invoker_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_INVOKER_BEAN_H
00018 #define SANDESHA2_INVOKER_BEAN_H
00019 
00020 #include <axutil_utils_defines.h>
00021 #include <axutil_env.h>
00022 #include <sandesha2_rm_bean.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C"
00026 {
00027 #endif
00028 
00029 typedef struct sandesha2_invoker_bean sandesha2_invoker_bean_t;
00030 struct sandesha2_transaction;
00031 
00032 AXIS2_DECLARE_DATA struct sandesha2_invoker_bean
00033 {
00034     sandesha2_rm_bean_t rm_bean;
00035 };
00036 
00037 /* constructors 
00038  */
00039 AXIS2_EXTERN sandesha2_invoker_bean_t* AXIS2_CALL
00040 sandesha2_invoker_bean_create(
00041         const axutil_env_t *env);
00042 
00043 AXIS2_EXTERN sandesha2_invoker_bean_t* AXIS2_CALL
00044 sandesha2_invoker_bean_create_with_data(
00045     const axutil_env_t *env,
00046     axis2_char_t * ref_key,
00047         long msg_no,
00048         axis2_char_t *seq_id,
00049         axis2_bool_t invoked);
00050 
00051 void AXIS2_CALL 
00052 sandesha2_invoker_bean_free  (
00053     sandesha2_rm_bean_t *invoker_bean,
00054     const axutil_env_t *env);
00055 
00056 sandesha2_rm_bean_t * AXIS2_CALL
00057 sandesha2_invoker_bean_get_base( 
00058     sandesha2_rm_bean_t* invoker,
00059     const axutil_env_t *env);
00060 
00061 void AXIS2_CALL
00062 sandesha2_invoker_bean_set_base (
00063     sandesha2_invoker_bean_t *invoker_bean,
00064     const axutil_env_t *env, 
00065     sandesha2_rm_bean_t* rm_bean);
00066 
00067 axis2_char_t* AXIS2_CALL 
00068 sandesha2_invoker_bean_get_msg_ctx_ref_key(
00069     sandesha2_rm_bean_t *invoker_bean,
00070     const axutil_env_t *env);
00071 
00072 void AXIS2_CALL 
00073 sandesha2_invoker_bean_set_msg_ctx_ref_key(
00074     sandesha2_invoker_bean_t *invoker_bean,
00075         const axutil_env_t *env, axis2_char_t* context_ref_id) ;
00076 
00077 long AXIS2_CALL 
00078 sandesha2_invoker_bean_get_msg_no(
00079     sandesha2_invoker_bean_t *invoker_bean,
00080     const axutil_env_t *env);
00081         
00082 void AXIS2_CALL
00083 sandesha2_invoker_bean_set_msg_no(
00084     sandesha2_invoker_bean_t *invoker_bean,
00085     const axutil_env_t *env, long msgno) ;
00086 
00087 axis2_char_t* AXIS2_CALL
00088 sandesha2_invoker_bean_get_seq_id(
00089     sandesha2_invoker_bean_t *invoker_bean,
00090     const axutil_env_t *env);
00091 
00092 void AXIS2_CALL
00093 sandesha2_invoker_bean_set_seq_id(
00094     sandesha2_invoker_bean_t *invoker_bean,
00095     const axutil_env_t *env, axis2_char_t* int_seq_id);
00096 
00097 axis2_bool_t AXIS2_CALL
00098 sandesha2_invoker_bean_is_invoked (
00099     sandesha2_invoker_bean_t *invoker_bean,
00100     const axutil_env_t *env);
00101 
00102 void AXIS2_CALL 
00103 sandesha2_invoker_bean_set_invoked( 
00104     sandesha2_invoker_bean_t *invoker_bean,
00105     const axutil_env_t *env,
00106     axis2_bool_t invoked);
00107 
00108 void AXIS2_CALL
00109 sandesha2_invoker_bean_set_id( 
00110     sandesha2_rm_bean_t *invoker_bean,
00111         const axutil_env_t *env, 
00112     long id);
00113 
00114 long AXIS2_CALL
00115 sandesha2_invoker_bean_get_id( 
00116     sandesha2_rm_bean_t *invoker_bean,
00117         const axutil_env_t *env);
00118 
00119 void AXIS2_CALL
00120 sandesha2_invoker_bean_set_transaction( 
00121     sandesha2_rm_bean_t *invoker_bean,
00122         const axutil_env_t *env, 
00123     struct sandesha2_transaction *transaction);
00124 
00125 struct sandesha2_transaction *AXIS2_CALL
00126 sandesha2_invoker_bean_get_transaction( 
00127     sandesha2_rm_bean_t *invoker_bean,
00128         const axutil_env_t *env);
00129 
00130 #ifdef __cplusplus
00131 }
00132 
00133 #endif
00134         
00135 #endif /* End of SANDESHA2_INVOKER_BEAN */

Generated on Mon Oct 1 17:05:56 2007 for Sandesha2/C by  doxygen 1.5.3