| /* |
| * Copyright 2004,2005 The Apache Software Foundation. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| #ifndef SANDESHA2_MSG_CTX_H |
| #define SANDESHA2_MSG_CTX_H |
| |
| /** |
| * @file sandesha2_msg_ctx.h |
| * @brief |
| */ |
| |
| #include <axutil_utils_defines.h> |
| #include <axutil_env.h> |
| #include <axiom_soap_envelope.h> |
| #include <axis2_msg_ctx.h> |
| #include <axis2_endpoint_ref.h> |
| #include <axis2_relates_to.h> |
| #include <sandesha2_create_seq.h> |
| #include <sandesha2_create_seq_res.h> |
| #include <sandesha2_close_seq.h> |
| #include <sandesha2_close_seq_res.h> |
| #include <sandesha2_terminate_seq.h> |
| #include <sandesha2_terminate_seq_res.h> |
| #include <sandesha2_make_connection.h> |
| #include <sandesha2_msg_pending.h> |
| #include <sandesha2_seq.h> |
| #include <sandesha2_seq_ack.h> |
| #include <sandesha2_ack_requested.h> |
| |
| #ifdef __cplusplus |
| extern "C" |
| { |
| #endif |
| |
| /** |
| * @ingroup sandesha2_msg_ctx |
| * @{ |
| */ |
| |
| typedef struct sandesha2_msg_ctx_t sandesha2_msg_ctx_t; |
| |
| AXIS2_EXTERN sandesha2_msg_ctx_t* AXIS2_CALL |
| sandesha2_msg_ctx_create( |
| const axutil_env_t *env, |
| axis2_msg_ctx_t *msg_ctx); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_msg_ctx( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_msg_ctx_t *msg_ctx); |
| |
| axis2_msg_ctx_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_msg_ctx( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_add_soap_envelope( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| int AXIS2_CALL |
| sandesha2_msg_ctx_get_msg_type ( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_msg_type ( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| int msg_type); |
| |
| axis2_endpoint_ref_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_from( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_from( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_endpoint_ref_t *from); |
| |
| axis2_endpoint_ref_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_to ( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_to( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_endpoint_ref_t *to); |
| |
| axis2_endpoint_ref_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_reply_to( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_reply_to( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_endpoint_ref_t *reply_to); |
| |
| axis2_endpoint_ref_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_fault_to( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_fault_to( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_endpoint_ref_t *fault_to); |
| |
| axis2_relates_to_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_relates_to( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_relates_to( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_relates_to_t *relates_to); |
| |
| axis2_char_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_msg_id( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_msg_id( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_char_t *msg_id); |
| |
| axiom_soap_envelope_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_soap_envelope( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_soap_envelope( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axiom_soap_envelope_t *soap_envelope); |
| |
| axis2_char_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_wsa_action( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_wsa_action( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_char_t *action); |
| |
| void *AXIS2_CALL |
| sandesha2_msg_ctx_get_property( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_char_t *key); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_property( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_char_t *key, |
| void *val); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_soap_action( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axutil_string_t *soap_action); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_paused( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_bool_t paused); |
| |
| axis2_char_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_rm_ns_val( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_rm_ns_val( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_char_t *ns_val); |
| |
| axis2_char_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_addr_ns_val( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_addr_ns_val( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axis2_char_t *ns_val); |
| |
| int AXIS2_CALL |
| sandesha2_msg_ctx_get_flow( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_flow( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| int flow); |
| |
| axis2_char_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_rm_spec_ver( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_free( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| AXIS2_EXTERN axutil_stream_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_transport_out_stream( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| AXIS2_EXTERN axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_transport_out_stream( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| axutil_stream_t *stream); |
| |
| AXIS2_EXTERN struct axis2_out_transport_info *AXIS2_CALL |
| sandesha2_msg_ctx_get_out_transport_info( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| AXIS2_EXTERN axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_out_transport_info( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| struct axis2_out_transport_info *http_out_transport_info); |
| |
| AXIS2_EXTERN axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_reset_out_transport_info( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_create_seq( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_create_seq_t *create_seq); |
| |
| sandesha2_create_seq_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_create_seq( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_create_seq_res( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_create_seq_res_t *create_seq_res); |
| |
| sandesha2_create_seq_res_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_create_seq_res( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_close_seq( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_close_seq_t *close_seq); |
| |
| sandesha2_close_seq_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_close_seq( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_close_seq_res( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_close_seq_res_t *close_seq_res); |
| |
| sandesha2_close_seq_res_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_close_seq_res( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_terminate_seq( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_terminate_seq_t *terminate_seq); |
| |
| sandesha2_terminate_seq_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_terminate_seq( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_terminate_seq_res( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_terminate_seq_res_t *terminate_seq_res); |
| |
| sandesha2_terminate_seq_res_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_terminate_seq_res( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_make_connection( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_make_connection_t *make_connection); |
| |
| sandesha2_make_connection_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_make_connection( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_msg_pending( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_msg_pending_t *msg_pending); |
| |
| sandesha2_msg_pending_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_msg_pending( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_sequence( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_seq_t *seq); |
| |
| sandesha2_seq_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_sequence( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_seq_ack( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_seq_ack_t *seq_ack); |
| |
| sandesha2_seq_ack_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_seq_ack( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_ack_requested( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env, |
| sandesha2_ack_requested_t *ack_requested); |
| |
| sandesha2_ack_requested_t *AXIS2_CALL |
| sandesha2_msg_ctx_get_ack_requested( |
| sandesha2_msg_ctx_t *rm_msg_ctx, |
| const axutil_env_t *env); |
| |
| axis2_bool_t AXIS2_CALL |
| sandesha2_msg_ctx_get_server_side( |
| const sandesha2_msg_ctx_t * rm_msg_ctx, |
| const axutil_env_t * env); |
| |
| axis2_status_t AXIS2_CALL |
| sandesha2_msg_ctx_set_server_side( |
| const sandesha2_msg_ctx_t * rm_msg_ctx, |
| const axutil_env_t * env, |
| const axis2_bool_t server_side); |
| |
| /** @} */ |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /*SANDESHA2_MSG_CTX_H*/ |