# sandesha2_report.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_REPORT_H
    00018 #define SANDESHA2_REPORT_H
    00019
    00025 #include <axutil_allocator.h>
    00026 #include <axutil_env.h>
    00027 #include <axutil_error.h>
    00028 #include <axutil_string.h>
    00029 #include <axutil_utils.h>
    00030 #include <axutil_hash.h>
    00031 #include <axutil_array_list.h>
    00032
    00033 #ifdef __cplusplus
    00034 extern "C"
    00035 {
    00036 #endif
    00037
    00038 typedef struct sandesha2_report sandesha2_report_t;
    00039
    00049 AXIS2_EXPORT axis2_status_t AXIS2_CALL
    00050 sandesha2_report_free(
    00051     void *report,
    00052     const axutil_env_t *env);
    00053
    00054 AXIS2_EXPORT long AXIS2_CALL
    00055 sandesha2_report_get_completed_msgs_count (
    00056     sandesha2_report_t *report,
    00057     const axutil_env_t *env,
    00058     axis2_char_t *seq_id);
    00059
    00060 AXIS2_EXPORT axutil_array_list_t *AXIS2_CALL
    00061 sandesha2_report_get_incoming_seq_list (
    00062     sandesha2_report_t *report,
    00063     const axutil_env_t *env);
    00064
    00065 AXIS2_EXPORT axutil_array_list_t *AXIS2_CALL
    00066 sandesha2_report_get_outgoing_seq_list (
    00067     sandesha2_report_t *report,
    00068     const axutil_env_t *env);
    00069
    00070 AXIS2_EXPORT axis2_char_t AXIS2_CALL
    00071 sandesha2_report_get_seq_status_map (
    00072     sandesha2_report_t *report,
    00073     const axutil_env_t *env,
    00074     axis2_char_t *seq_id);
    00075
    00076 AXIS2_EXPORT axis2_status_t AXIS2_CALL
    00077 sandesha2_report_add_to_incoming_seq_list (
    00078     sandesha2_report_t *report,
    00079     const axutil_env_t *env,
    00080     axis2_char_t *incoming_seq_id);
    00081
    00082 AXIS2_EXPORT axis2_status_t AXIS2_CALL
    00083 sandesha2_report_add_to_outgoing_seq_list (
    00084     sandesha2_report_t *report,
    00085     const axutil_env_t *env,
    00086     axis2_char_t *out_seq_id);
    00087
    00088 AXIS2_EXPORT axis2_status_t AXIS2_CALL
    00089 sandesha2_report_add_to_no_of_completed_msgs_map (
    00090     sandesha2_report_t *report,
    00091     const axutil_env_t *env,
    00092     axis2_char_t *id,
    00093     long no_of_msgs);
    00094
    00095 AXIS2_EXPORT axis2_status_t AXIS2_CALL
    00096 sandesha2_report_add_to_seq_status_map (
    00097     sandesha2_report_t *report,
    00098     const axutil_env_t *env,
    00099     axis2_char_t *id,
    00100     axis2_char_t status);
    00101
    00102 AXIS2_EXPORT axis2_char_t *AXIS2_CALL
    00103 sandesha2_report_get_internal_seq_id_of_out_seq(
    00104     sandesha2_report_t *report,
    00105     const axutil_env_t *env,
    00106     axis2_char_t *out_seq_id);
    00107
    00108 AXIS2_EXPORT axis2_status_t AXIS2_CALL
    00109 sandesha2_report_add_to_outgoing_internal_seq_map(
    00110     sandesha2_report_t *report,
    00111     const axutil_env_t *env,
    00112     axis2_char_t *out_seq_id,
    00113     axis2_char_t *internal_seq_id);
    00114
    00115 AXIS2_EXTERN sandesha2_report_t * AXIS2_CALL
    00116 sandesha2_report_create(const axutil_env_t *env);
    00117
    00119 #ifdef __cplusplus
    00120 }
    00121 #endif
    00122 #endif /* SANDESHA2_REPORT_H */