woden_direction.h File Reference
Axis2 Direction Interface This class defines the values of the {direction} property of Interface Message Reference and Interface Fault Reference. This property indicates whether a message is coming "in" to the service or going "out" from the service. More...
#include <axis2_allocator.h>
#include <axis2_env.h>
#include <axis2_error.h>
#include <axis2_string.h>
#include <axis2_utils.h>
#include <axis2_hash.h>
#include <axis2_qname.h>
#include <woden.h>
Go to the source code of this file.
|
Defines |
#define | WODEN_DIRECTION_FREE(direction, env) |
#define | WODEN_DIRECTION_TO_STRING(direction, env) |
Typedefs |
typedef woden_direction | woden_direction_t |
typedef woden_direction_ops | woden_direction_ops_t |
Functions |
AXIS2_EXTERN woden_direction_t * | woden_direction_get_direction_in (const axis2_env_t *env) |
AXIS2_EXTERN woden_direction_t * | woden_direction_get_direction_out (const axis2_env_t *env) |
Detailed Description
Axis2 Direction Interface This class defines the values of the {direction} property of Interface Message Reference and Interface Fault Reference. This property indicates whether a message is coming "in" to the service or going "out" from the service.
The property is represented in XML by the message or fault reference element's tag name:
-
<input> and <infault> have the direction "in" - represented by the constant IN
-
<output> and <outfault> have the direction "out" - represented by the constant OUT
This class uses the typesafe enum pattern. Applications should use the public static final constants defined in this class to specify or to evaluate direction.
Examples:
WODEN_INTERFACE_MSG_REF_SET_DIRECTION(intf_msg_ref, env, WODEN_IN);
if(0 == AXIS2_STRCMP(WODEN_IN,WODEN_INTERFACE_GET_DIRECTION(
intf_msg_ref, env)) ...
Generated on Fri Jun 16 18:02:37 2006 for Axis2/C by
1.4.2