sandesha2_sender_worker.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_SENDER_WORKER_H
00018 #define SANDESHA2_SENDER_WORKER_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 <axis2_conf_ctx.h>
00031 #include <sandesha2_storage_mgr.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037 
00038 struct sandesha2_seq_property_mgr;
00039 struct sandesha2_create_seq_mgr;
00040 struct sandesha2_sender_mgr;
00041 typedef struct sandesha2_sender_worker_t sandesha2_sender_worker_t;
00042 
00043 AXIS2_EXTERN sandesha2_sender_worker_t* AXIS2_CALL
00044 sandesha2_sender_worker_create(
00045     const axutil_env_t *env,
00046     axis2_conf_ctx_t *conf_ctx,
00047     axis2_char_t *msg_id);
00048 
00049 AXIS2_EXTERN sandesha2_sender_worker_t* AXIS2_CALL
00050 sandesha2_sender_worker_create_with_msg_ctx(
00051     const axutil_env_t *env,
00052     axis2_conf_ctx_t *conf_ctx,
00053     axis2_char_t *msg_id,
00054     axis2_msg_ctx_t *msg_ctx);
00055  
00063 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00064 sandesha2_sender_worker_free_void_arg(
00065     void *sender_worker,
00066     const axutil_env_t *env);
00067 
00068 axis2_status_t AXIS2_CALL 
00069 sandesha2_sender_worker_free(
00070     sandesha2_sender_worker_t *sender_worker, 
00071     const axutil_env_t *env);
00072 
00073 axis2_status_t
00074 sandesha2_sender_worker_send(
00075     const axutil_env_t *env,
00076     axis2_conf_ctx_t *conf_ctx,
00077     axis2_char_t *msg_id,
00078     axis2_bool_t persistent_msg_ctx,
00079     sandesha2_storage_mgr_t *storage_mgr,
00080     struct sandesha2_seq_property_mgr *seq_prop_mgr,
00081     struct sandesha2_create_seq_mgr *create_seq_mgr,
00082     struct sandesha2_sender_mgr *sender_mgr);
00083 
00084 void sandesha2_sender_worker_set_transport_out(
00085     sandesha2_sender_worker_t *sender_worker,
00086     const axutil_env_t *env,
00087     axis2_transport_out_desc_t *transport_out);
00088 
00090 #ifdef __cplusplus
00091 }
00092 #endif
00093 #endif /* SANDESHA2_SENDER_WORKER_H */

Generated on Fri May 23 15:50:26 2008 for Sandesha2/C by  doxygen 1.5.5