00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one or more 00003 * contributor license agreements. See the NOTICE file distributed with 00004 * this work for additional information regarding copyright ownership. 00005 * The ASF licenses this file to You under the Apache License, Version 2.0 00006 * (the "License"); you may not use this file except in compliance with 00007 * the License. You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 #ifndef AXIS2_ASYNC_RESULT_H 00019 #define AXIS2_ASYNC_RESULT_H 00020 00034 #include <axis2_defines.h> 00035 #include <axutil_env.h> 00036 #include <axis2_msg_ctx.h> 00037 #include <axiom_soap_envelope.h> 00038 00039 #ifdef __cplusplus 00040 extern "C" 00041 { 00042 #endif 00043 00045 typedef struct axis2_async_result axis2_async_result_t; 00046 00053 AXIS2_EXTERN axiom_soap_envelope_t *AXIS2_CALL 00054 axis2_async_result_get_envelope(axis2_async_result_t *async_result, 00055 const axutil_env_t *env); 00056 00057 00064 AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL 00065 axis2_async_result_get_result(axis2_async_result_t *async_result, 00066 const axutil_env_t *env); 00067 00074 AXIS2_EXTERN void AXIS2_CALL 00075 axis2_async_result_free(axis2_async_result_t *async_result, 00076 const axutil_env_t *env); 00077 00085 AXIS2_EXTERN axis2_async_result_t *AXIS2_CALL 00086 axis2_async_result_create(const axutil_env_t *env, 00087 axis2_msg_ctx_t *result); 00088 00089 00091 #ifdef __cplusplus 00092 } 00093 #endif 00094 00095 #endif /* AXIS2_ASYNC_RESULT_H */