sandesha2_endpoint.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_ENDPOINT_H
00018 #define SANDESHA2_ENDPOINT_H
00019 
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <axiom_soap_envelope.h>
00028 #include <sandesha2_address.h>
00029 
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00040 typedef struct sandesha2_endpoint_t sandesha2_endpoint_t;
00041 
00047 AXIS2_EXTERN sandesha2_endpoint_t * AXIS2_CALL
00048 sandesha2_endpoint_create(
00049     const axutil_env_t *env, 
00050     sandesha2_address_t *address,
00051     axis2_char_t *rm_ns_value, 
00052     axis2_char_t *addr_ns_value);
00053 
00054 axis2_status_t AXIS2_CALL 
00055 sandesha2_endpoint_free(
00056     sandesha2_endpoint_t *endpoint, 
00057     const axutil_env_t *env);                                                           
00058 
00059 sandesha2_address_t * AXIS2_CALL
00060 sandesha2_endpoint_get_address(
00061     sandesha2_endpoint_t *endpoint,
00062     const axutil_env_t *env);
00063                         
00064 axis2_status_t AXIS2_CALL 
00065 sandesha2_endpoint_set_address (
00066     sandesha2_endpoint_t *endpoint, 
00067     const axutil_env_t *env, 
00068     sandesha2_address_t *address);                                                              
00069  
00070 axis2_char_t* AXIS2_CALL 
00071 sandesha2_endpoint_get_namespace_value(
00072     sandesha2_endpoint_t *endpoint,
00073         const axutil_env_t *env);
00074 
00075 void* AXIS2_CALL 
00076 sandesha2_endpoint_from_om_node(
00077     sandesha2_endpoint_t *endpoint,
00078     const axutil_env_t *env, 
00079     axiom_node_t *om_node);
00080     
00081 axiom_node_t* AXIS2_CALL 
00082 sandesha2_endpoint_to_om_node(
00083     sandesha2_endpoint_t *endpoint,
00084         const axutil_env_t *env, 
00085     void *om_node);
00086  
00088 #ifdef __cplusplus
00089 }
00090 #endif
00091 
00092 #endif                          /* SANDESHA2_ENDPOINT_H */
00093 

Generated on Wed Oct 14 01:02:17 2009 for Sandesha2/C by  doxygen 1.5.7.1