# axis2_async_result.h

Go to the documentation of this file.

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