# sandesha2_msg_creator.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_MSG_CREATOR_H
    00018 #define SANDESHA2_MSG_CREATOR_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 <sandesha2_seq_property_mgr.h>
    00031 #include <sandesha2_msg_ctx.h>
    00032 #include <axis2_msg_ctx.h>
    00033
    00034 #ifdef __cplusplus
    00035 extern "C"
    00036 {
    00037 #endif
    00038
    00039 typedef struct sandesha2_msg_creator sandesha2_msg_creator_t;
    00040 typedef struct sandesha2_msg_creator_ops sandesha2_msg_creator_ops_t;
    00041
    00054 sandesha2_msg_ctx_t *AXIS2_CALL
    00055 sandesha2_msg_creator_create_create_seq_msg(
    00056     const axutil_env_t *env,
    00057     sandesha2_msg_ctx_t *application_rm_msg,
    00058     axis2_char_t *internal_seq_id,
    00059     axis2_char_t *acks_to,
    00060     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00061
    00069 sandesha2_msg_ctx_t *
    00070 sandesha2_msg_creator_create_create_seq_res_msg(
    00071     const axutil_env_t *env,
    00072     sandesha2_msg_ctx_t *create_seq_msg,
    00073     axis2_msg_ctx_t *out_msg,
    00074     axis2_char_t *new_seq_id,
    00075     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00076
    00084 sandesha2_msg_ctx_t *
    00085 sandesha2_msg_creator_create_close_seq_res_msg(
    00086     const axutil_env_t *env,
    00087     sandesha2_msg_ctx_t *close_seq_msg,
    00088     axis2_msg_ctx_t *out_msg,
    00089     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00090
    00091
    00092 sandesha2_msg_ctx_t *AXIS2_CALL
    00093 sandesha2_msg_creator_create_terminate_seq_msg(
    00094     const axutil_env_t *env,
    00095     sandesha2_msg_ctx_t *ref_rm_msg,
    00096     axis2_char_t *seq_id,
    00097     axis2_char_t *internal_seq_id,
    00098     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00099
    00100
    00101 sandesha2_msg_ctx_t *AXIS2_CALL
    00102 sandesha2_msg_creator_create_terminate_seq_res_msg(
    00103     const axutil_env_t *env,
    00104     sandesha2_msg_ctx_t *ref_rm_msg,
    00105     axis2_msg_ctx_t *out_msg,
    00106     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00107
    00114 axis2_status_t AXIS2_CALL
    00115 sandesha2_msg_creator_add_ack_msg(
    00116     const axutil_env_t *env,
    00117     sandesha2_msg_ctx_t *app_msg,
    00118     axis2_char_t *seq_id,
    00119     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00120
    00121 sandesha2_msg_ctx_t *AXIS2_CALL
    00122 sandesha2_msg_creator_create_make_connection_msg(
    00123     const axutil_env_t *env,
    00124     sandesha2_msg_ctx_t *ref_rm_msg_ctx,
    00125     axis2_char_t *make_conn_seq_id,
    00126     const axis2_char_t *internal_seq_id,
    00127     axis2_char_t *make_conn_anon_uri,
    00128     sandesha2_seq_property_mgr_t *seq_prop_mgr);
    00129
    00131 #ifdef __cplusplus
    00132 }
    00133 #endif
    00134 #endif /* SANDESHA2_MSG_CREATOR_H */