endpoint reference
[WS-Addressing]


Files

file  axis2_endpoint_ref.h

Classes

struct  axis2_endpoint_ref_ops
struct  axis2_endpoint_ref

Defines

#define AXIS2_ENDPOINT_REF_GET_ADDRESS(endpoint_ref, env)   ((endpoint_ref)->ops->get_address(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_SET_ADDRESS(endpoint_ref, env, address)   ((endpoint_ref)->ops->set_address(endpoint_ref, env, address))
#define AXIS2_ENDPOINT_REF_GET_INTERFACE_NAME(endpoint_ref, env)   ((endpoint_ref)->ops->get_interface_qname(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_SET_INTERFACE_NAME(endpoint_ref, env, interface_qname)   ((endpoint_ref)->ops->set_interface_qname(endpoint_ref, env, interface_qname))
#define AXIS2_ENDPOINT_REF_GET_SVC_NAME(endpoint_ref, env)   ((endpoint_ref)->ops->get_svc_name(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_SET_SVC_NAME(endpoint_ref, env, svc_name)   ((endpoint_ref)->ops->set_svc_name(endpoint_ref, env, svc_name))
#define AXIS2_ENDPOINT_REF_GET_REF_PARAM_LIST(endpoint_ref, env)   ((endpoint_ref)->ops->get_ref_param_list(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_GET_METADATA_LIST(endpoint_ref, env)   ((endpoint_ref)->ops->get_metadata_list(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_ADD_REF_PARAM(endpoint_ref, env, node)   ((endpoint_ref)->ops->add_ref_param(endpoint_ref, env, node))
#define AXIS2_ENDPOINT_REF_ADD_METADATA(endpoint_ref, env, node)   ((endpoint_ref)->ops->add_metadata(endpoint_ref, env, node))
#define AXIS2_ENDPOINT_REF_FREE(endpoint_ref, env)   ((endpoint_ref)->ops->free(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_GET_REF_ATTRIBUTE_LIST(endpoint_ref, env)   ((endpoint_ref)->ops->get_ref_attribute_list(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_GET_META_ATTRIBUTE_LIST(endpoint_ref, env)   ((endpoint_ref)->ops->get_metadata_attribute_list(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_GET_REF_EXTENSION_LIST(endpoint_ref, env)   ((endpoint_ref)->ops->get_extension_list(endpoint_ref, env))
#define AXIS2_ENDPOINT_REF_ADD_REF_ATTRIBUTE(endpoint_ref, env, attr)   ((endpoint_ref)->ops->add_ref_attribute(endpoint_ref, env, attr))
#define AXIS2_ENDPOINT_REF_ADD_META_ATTRIBUTE(endpoint_ref, env, attr)   ((endpoint_ref)->ops->add_metadata_attribute(endpoint_ref, env, attr))
#define AXIS2_ENDPOINT_REF_ADD_EXTENSION(endpoint_ref, env, node)   ((endpoint_ref)->ops->add_extension(endpoint_ref, env, node))

Typedefs

typedef axis2_endpoint_ref axis2_endpoint_ref_t
typedef axis2_endpoint_ref_ops axis2_endpoint_ref_ops_t

Functions

AXIS2_EXTERN axis2_endpoint_ref_taxis2_endpoint_ref_create (const axis2_env_t *env, const axis2_char_t *address)
axis2_status_t axis2_endpoint_ref_free_void_arg (void *endpoint_ref, const axis2_env_t *env)

Detailed Description

endpoint reference represent an endpoint address in WS-Addressing. In addition to the endpoint address, it also encapsulates meta data, reference attributes and the service hosted at the given endpoint. In addition to the addressing related implementation, the endpoint reference struct is used across core code-base to represent endpoints.

Define Documentation

#define AXIS2_ENDPOINT_REF_ADD_EXTENSION ( endpoint_ref,
env,
node   )     ((endpoint_ref)->ops->add_extension(endpoint_ref, env, node))

Adds extension.

See also:
axis2_endpoint_ref_ops::add_extension

#define AXIS2_ENDPOINT_REF_ADD_META_ATTRIBUTE ( endpoint_ref,
env,
attr   )     ((endpoint_ref)->ops->add_metadata_attribute(endpoint_ref, env, attr))

Adds metadata attribute.

See also:
axis2_endpoint_ref_ops::add_metadata_attribute

#define AXIS2_ENDPOINT_REF_ADD_METADATA ( endpoint_ref,
env,
node   )     ((endpoint_ref)->ops->add_metadata(endpoint_ref, env, node))

Adds metadata.

See also:
axis2_endpoint_ref_ops::add_metadata

#define AXIS2_ENDPOINT_REF_ADD_REF_ATTRIBUTE ( endpoint_ref,
env,
attr   )     ((endpoint_ref)->ops->add_ref_attribute(endpoint_ref, env, attr))

Adds reference attribute.

See also:
axis2_endpoint_ref_ops::add_ref_attribute

#define AXIS2_ENDPOINT_REF_ADD_REF_PARAM ( endpoint_ref,
env,
node   )     ((endpoint_ref)->ops->add_ref_param(endpoint_ref, env, node))

Adds reference parameter.

See also:
axis2_endpoint_ref_ops::add_ref_param

#define AXIS2_ENDPOINT_REF_FREE ( endpoint_ref,
env   )     ((endpoint_ref)->ops->free(endpoint_ref, env))

Frees endpoint reference.

See also:
axis2_endpoint_ref_ops::free

#define AXIS2_ENDPOINT_REF_GET_ADDRESS ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_address(endpoint_ref, env))

Gets address.

See also:
axis2_endpoint_ref_ops::get_address

#define AXIS2_ENDPOINT_REF_GET_INTERFACE_NAME ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_interface_qname(endpoint_ref, env))

Gets interface name.

See also:
axis2_endpoint_ref_ops::get_interface_name

#define AXIS2_ENDPOINT_REF_GET_META_ATTRIBUTE_LIST ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_metadata_attribute_list(endpoint_ref, env))

Gets metadata attribute list.

See also:
axis2_endpoint_ref_ops::get_metadata_attribute_list

#define AXIS2_ENDPOINT_REF_GET_METADATA_LIST ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_metadata_list(endpoint_ref, env))

Gets metadata list.

See also:
axis2_endpoint_ref_ops::get_metadata_list

#define AXIS2_ENDPOINT_REF_GET_REF_ATTRIBUTE_LIST ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_ref_attribute_list(endpoint_ref, env))

Gets reference attribute list.

See also:
axis2_endpoint_ref_ops::get_ref_attribute_list

#define AXIS2_ENDPOINT_REF_GET_REF_EXTENSION_LIST ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_extension_list(endpoint_ref, env))

Gets reference extension list.

See also:
axis2_endpoint_ref_ops::get_ref_extension_list

#define AXIS2_ENDPOINT_REF_GET_REF_PARAM_LIST ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_ref_param_list(endpoint_ref, env))

Gets reference parameter list.

See also:
axis2_endpoint_ref_ops::get_ref_param_list

#define AXIS2_ENDPOINT_REF_GET_SVC_NAME ( endpoint_ref,
env   )     ((endpoint_ref)->ops->get_svc_name(endpoint_ref, env))

Gets service name.

See also:
axis2_endpoint_ref_ops::get_svc_name

#define AXIS2_ENDPOINT_REF_SET_ADDRESS ( endpoint_ref,
env,
address   )     ((endpoint_ref)->ops->set_address(endpoint_ref, env, address))

Sets address.

See also:
axis2_endpoint_ref_ops::set_address

#define AXIS2_ENDPOINT_REF_SET_INTERFACE_NAME ( endpoint_ref,
env,
interface_qname   )     ((endpoint_ref)->ops->set_interface_qname(endpoint_ref, env, interface_qname))

Sets interface name.

See also:
axis2_endpoint_ref_ops::set_interface_name

#define AXIS2_ENDPOINT_REF_SET_SVC_NAME ( endpoint_ref,
env,
svc_name   )     ((endpoint_ref)->ops->set_svc_name(endpoint_ref, env, svc_name))

Sets service name.

See also:
axis2_endpoint_ref_ops::set_svc_name


Typedef Documentation

typedef struct axis2_endpoint_ref_ops axis2_endpoint_ref_ops_t

Type name for struct axis2_endpoint_ref_ops

typedef struct axis2_endpoint_ref axis2_endpoint_ref_t

Type name for struct axis2_endpoint_ref


Function Documentation

AXIS2_EXTERN axis2_endpoint_ref_t* axis2_endpoint_ref_create ( const axis2_env_t env,
const axis2_char_t *  address 
)

Creates endpoint reference struct.

Parameters:
env pointer to environment struct
address endpoint address string
Returns:
pointer to newly created endpoint reference

axis2_status_t axis2_endpoint_ref_free_void_arg ( void *  endpoint_ref,
const axis2_env_t env 
)

Frees the endpoint_ref given as a void pointer. This method would cast the void parameter to an endpoint_ref pointer and then call free method.

Parameters:
pointer to endpoint_ref as a void pointer
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


Generated on Wed Dec 20 20:35:01 2006 for Axis2/C by  doxygen 1.5.1