sandesha2_seq_report.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef SANDESHA2_SEQ_REPORT_H
00018 #define SANDESHA2_SEQ_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_uri.h>
00032 #include <axutil_array_list.h>
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039 typedef struct sandesha2_seq_report sandesha2_seq_report_t;
00040
00041 #define SANDESHA2_SEQ_STATUS_UNKNOWN 0
00042 #define SANDESHA2_SEQ_STATUS_INITIAL 1
00043 #define SANDESHA2_SEQ_STATUS_ESTABLISHED 2
00044 #define SANDESHA2_SEQ_STATUS_TERMINATED 3
00045 #define SANDESHA2_SEQ_STATUS_TIMED_OUT 4
00046 #define SANDESHA2_MAX_SEQ_STATUS 4
00047
00048 #define SANDESHA2_SEQ_DIRECTION_UNKNOWN 0
00049 #define SANDESHA2_SEQ_DIRECTION_IN 1
00050 #define SANDESHA2_SEQ_DIRECTION_OUT 2
00051 #define SANDESHA2_MAX_SEQ_DIRECTION 2
00052
00053
00058 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00059 sandesha2_seq_report_free(
00060 void *report,
00061 const axutil_env_t *envv);
00062
00063 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00064 sandesha2_seq_report_set_seq_status(
00065 sandesha2_seq_report_t *report,
00066 const axutil_env_t *env,
00067 axis2_char_t seq_status);
00068
00069 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00070 sandesha2_seq_report_set_seq_direction(
00071 sandesha2_seq_report_t *report,
00072 const axutil_env_t *env,
00073 axis2_char_t seq_direction);
00074
00075 AXIS2_EXTERN axis2_char_t AXIS2_CALL
00076 sandesha2_seq_report_get_seq_status(
00077 sandesha2_seq_report_t *report,
00078 const axutil_env_t *env);
00079
00080 AXIS2_EXTERN axis2_char_t AXIS2_CALL
00081 sandesha2_seq_report_get_seq_direction(
00082 sandesha2_seq_report_t *report,
00083 const axutil_env_t *env);
00084
00085 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00086 sandesha2_seq_report_get_seq_id(
00087 sandesha2_seq_report_t *report,
00088 const axutil_env_t *env);
00089
00090 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00091 sandesha2_seq_report_set_seq_id(
00092 sandesha2_seq_report_t *report,
00093 const axutil_env_t *env,
00094 axis2_char_t *seq_id);
00095
00096 AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00097 sandesha2_seq_report_get_completed_msgs(
00098 sandesha2_seq_report_t *report,
00099 const axutil_env_t *env);
00100
00101 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00102 sandesha2_seq_report_add_completed_msg(
00103 sandesha2_seq_report_t *report,
00104 const axutil_env_t *env,
00105 long *msg_no);
00106
00107 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00108 sandesha2_seq_report_set_completed_msgs(
00109 sandesha2_seq_report_t *report,
00110 const axutil_env_t *env,
00111 axutil_array_list_t *completed_msgs);
00112
00113 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00114 sandesha2_seq_report_get_internal_seq_id(
00115 sandesha2_seq_report_t *report,
00116 const axutil_env_t *env,
00117 long *msg_no);
00118
00119 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00120 sandesha2_seq_report_set_internal_seq_id(
00121 sandesha2_seq_report_t *report,
00122 const axutil_env_t *env,
00123 axis2_char_t *internal_seq_id);
00124
00125 AXIS2_EXTERN sandesha2_seq_report_t * AXIS2_CALL
00126 sandesha2_seq_report_create(const axutil_env_t *env);
00127
00129 #ifdef __cplusplus
00130 }
00131 #endif
00132 #endif