sandesha2_polling_mgr.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_POLLING_MGR_H
00018 #define SANDESHA2_POLLING_MGR_H
00019 
00028 #include <axutil_allocator.h>
00029 #include <axutil_env.h>
00030 #include <axutil_error.h>
00031 #include <axutil_string.h>
00032 #include <axutil_utils.h>
00033 #include <axis2_conf_ctx.h>
00034 
00035 #ifdef __cplusplus
00036 extern "C"
00037 {
00038 #endif
00039 
00040 typedef struct sandesha2_polling_mgr_t sandesha2_polling_mgr_t;
00041 
00042 AXIS2_EXTERN sandesha2_polling_mgr_t * AXIS2_CALL
00043 sandesha2_polling_mgr_create(
00044     const axutil_env_t *env);
00045  
00053 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00054 sandesha2_polling_mgr_free_void_arg(
00055     void *polling_mgr,
00056     const axutil_env_t *env);
00057 
00058 axis2_status_t AXIS2_CALL 
00059 sandesha2_polling_mgr_free(
00060     sandesha2_polling_mgr_t *polling_mgr, 
00061     const axutil_env_t *env);
00062 
00063 axis2_status_t AXIS2_CALL 
00064 sandesha2_polling_mgr_stop_polling (
00065     sandesha2_polling_mgr_t *polling_mgr,
00066     const axutil_env_t *env);
00067             
00068 axis2_status_t AXIS2_CALL 
00069 sandesha2_polling_mgr_start (
00070     sandesha2_polling_mgr_t *polling_mgr, 
00071     const axutil_env_t *env, 
00072     axis2_conf_ctx_t *conf_ctx,
00073     const axis2_char_t *internal_seq_id);
00074             
00075 void AXIS2_CALL
00076 sandesha2_polling_mgr_set_poll(
00077     sandesha2_polling_mgr_t *polling_mgr,
00078     const axutil_env_t *env,
00079     axis2_bool_t poll);
00080 
00081 axis2_bool_t AXIS2_CALL
00082 sandesha2_polling_mgr_is_poll(
00083     sandesha2_polling_mgr_t *polling_mgr,
00084     const axutil_env_t *env);
00085 
00086 void AXIS2_CALL
00087 sandesha2_polling_mgr_schedule_polling_request(
00088     sandesha2_polling_mgr_t *polling_mgr,
00089     const axutil_env_t *env,
00090     const axis2_char_t *internal_seq_id);
00091                    
00093 #ifdef __cplusplus
00094 }
00095 #endif
00096 #endif /* SANDESHA2_POLLING_MGR_H */

Generated on Mon Oct 1 17:19:03 2007 for Sandesha2/C by  doxygen 1.5.3