sandesha2_msg_processor.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_MSG_PROCESSOR_H
00018 #define SANDESHA2_MSG_PROCESSOR_H
00019
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <axiom_soap_envelope.h>
00028 #include <axiom_element.h>
00029 #include <sandesha2_msg_ctx.h>
00030
00031
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036
00042 typedef struct sandesha2_msg_processor_ops sandesha2_msg_processor_ops_t;
00043 typedef struct sandesha2_msg_processor sandesha2_msg_processor_t;
00048 AXIS2_DECLARE_DATA struct sandesha2_msg_processor_ops
00049 {
00050 axis2_status_t (AXIS2_CALL *
00051 process_in_msg)(
00052 sandesha2_msg_processor_t *proc,
00053 const axutil_env_t *env,
00054 sandesha2_msg_ctx_t *rm_msg_ctx);
00055
00056 axis2_status_t (AXIS2_CALL *
00057 process_out_msg)(
00058 sandesha2_msg_processor_t *proc,
00059 const axutil_env_t *env,
00060 sandesha2_msg_ctx_t *rm_msg_ctx);
00061
00062 axis2_status_t (AXIS2_CALL *free) (sandesha2_msg_processor_t *proc,
00063 const axutil_env_t *env);
00064 };
00065
00070 AXIS2_DECLARE_DATA struct sandesha2_msg_processor
00071 {
00072 sandesha2_msg_processor_ops_t *ops;
00073 };
00074
00079 sandesha2_msg_processor_t *AXIS2_CALL
00080 sandesha2_msg_processor_create_msg_processor(
00081 const axutil_env_t *env,
00082 sandesha2_msg_ctx_t *rm_msg_ctx);
00083
00084 axis2_status_t AXIS2_CALL
00085 sandesha2_msg_processor_free (
00086 sandesha2_msg_processor_t *msg_processor,
00087 const axutil_env_t *env);
00088
00089 axis2_status_t AXIS2_CALL
00090 sandesha2_msg_processor_process_in_msg (
00091 sandesha2_msg_processor_t *msg_processor,
00092 const axutil_env_t *env,
00093 sandesha2_msg_ctx_t *rm_msg_ctx);
00094
00095 axis2_status_t AXIS2_CALL
00096 sandesha2_msg_processor_process_out_msg(
00097 sandesha2_msg_processor_t *msg_processor,
00098 const axutil_env_t *env,
00099 sandesha2_msg_ctx_t *rm_msg_ctx);
00100
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105
00106 #endif