# sandesha2_terminate_mgr.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_TERMINATER_MGR_H
    00018 #define SANDESHA2_TERMINATER_MGR_H
    00019
    00020
    00021
    00027 #include <sandesha2_storage_mgr.h>
    00028 #include <axis2_conf_ctx.h>
    00029 #include <axis2_conf.h>
    00030 #include <axiom_soap_envelope.h>
    00031 #include <axutil_qname.h>
    00032 #include <axutil_array_list.h>
    00033 #include <axis2_op.h>
    00034 #include <sandesha2_seq_property_bean.h>
    00035 #include <sandesha2_msg_ctx.h>
    00036 #include <axiom_soap_envelope.h>
    00037
    00038
    00039 #ifdef __cplusplus
    00040 extern "C"
    00041 {
    00042 #endif
    00043
    00044 struct sandesha2_seq_property_mgr;
    00045 struct sandesha2_create_seq_mgr;
    00046 struct sandesha2_sender_mgr;
    00047 struct sandesha2_next_msg_mgr;
    00048 struct sandesha2_seq_property_bean_t;
    00049
    00054 #define SANDESHA2_CLEANED_ON_TERMINATE_MSG "CleanedOnTerminateMsg"
    00055 #define SANDESHA2_CLEANED_AFTER_INVOCATION "CleanedAfterInvocation"
    00056
    00057 AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00058 sandesha2_terminate_mgr_clean_recv_side_after_terminate_msg(
    00059     const axutil_env_t *env,
    00060     axis2_conf_ctx_t *conf_ctx,
    00061     axis2_char_t *seq_id,
    00062     sandesha2_storage_mgr_t *storage_mgr,
    00063     struct sandesha2_seq_property_mgr *seq_prop_mgr,
    00064     struct sandesha2_next_msg_mgr *next_msg_mgr);
    00065
    00066 AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00067 sandesha2_terminate_mgr_clean_recv_side_after_invocation(
    00068     const axutil_env_t *env,
    00069     axis2_conf_ctx_t *conf_ctx,
    00070     axis2_char_t *seq_id,
    00071     sandesha2_storage_mgr_t *storage_mgr,
    00072     struct sandesha2_seq_property_mgr *seq_prop_mgr,
    00073     struct sandesha2_next_msg_mgr *next_msg_mgr);
    00074
    00075 AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00076 sandesha2_terminate_mgr_terminate_sending_side(
    00077     const axutil_env_t *env,
    00078     axis2_conf_ctx_t *conf_ctx,
    00079     axis2_char_t *seq_id,
    00080     axis2_bool_t svr_side,
    00081     sandesha2_storage_mgr_t *storage_mgr,
    00082     struct sandesha2_seq_property_mgr *seq_prop_mgr,
    00083     struct sandesha2_create_seq_mgr *create_seq_mgr,
    00084     struct sandesha2_sender_mgr *sender_mgr);
    00085
    00086 AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00087 sandesha2_terminate_mgr_do_updates_if_needed(
    00088     const axutil_env_t *env,
    00089     axis2_char_t *seq_id,
    00090     sandesha2_seq_property_bean_t *prop_bean,
    00091     struct sandesha2_seq_property_mgr *seq_prop_mgr);
    00092
    00093 AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00094 sandesha2_terminate_mgr_time_out_sending_side_seq(
    00095     const axutil_env_t *env,
    00096     axis2_conf_ctx_t *conf_ctx,
    00097     axis2_char_t *seq_id,
    00098     axis2_bool_t svr_side,
    00099     sandesha2_storage_mgr_t *storage_mgr,
    00100     struct sandesha2_seq_property_mgr *seq_prop_mgr,
    00101     struct sandesha2_create_seq_mgr *create_seq_mgr,
    00102     struct sandesha2_sender_mgr *sender_mgr);
    00103
    00104 AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00105 sandesha2_terminate_mgr_send_terminate_seq_msg(
    00106     const axutil_env_t *env,
    00107     sandesha2_msg_ctx_t *rm_msg_ctx,
    00108     axis2_char_t *out_seq_id,
    00109     axis2_char_t *int_seq_id,
    00110     sandesha2_storage_mgr_t *storage_mgr,
    00111     struct sandesha2_seq_property_mgr *seq_prop_mgr,
    00112     struct sandesha2_create_seq_mgr *create_seq_mgr,
    00113     struct sandesha2_sender_mgr *sender_mgr);
    00114
    00115
    00117 #ifdef __cplusplus
    00118 }
    00119 #endif
    00120
    00121 #endif                          /* SANDESHA2_TERMINATER_MGR_H */
    00122