Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Modules | Data Structures | Macros | Typedefs

Modules

 afw_request_handler
 

Data Structures

struct  afw_request_handler_s
 Interface afw_request_handler public struct. More...
 
struct  afw_request_handler_inf_s
 Interface afw_request_handler_inf_s struct. More...
 

Macros

#define AFW_REQUEST_HANDLER_INTERFACE_NAME   "afw_request_handler"
 define for interface afw_request_handler name.
 
#define afw_request_handler_release(instance, xctx)
 Call method release of interface afw_request_handler. More...
 
#define afw_request_handler_process(instance, request, xctx)
 Call method process of interface afw_request_handler. More...
 

Typedefs

typedef void(* afw_request_handler_release_t) (const afw_request_handler_t *instance, afw_xctx_t *xctx)
 
typedef void(* afw_request_handler_process_t) (const afw_request_handler_t *instance, const afw_request_t *request, afw_xctx_t *xctx)
 

Detailed Description

Adaptive framework request handler interface.

Macro Definition Documentation

◆ afw_request_handler_process

#define afw_request_handler_process (   instance,
  request,
  xctx 
)
Value:
(instance)->inf->process( \
(instance), \
(request), \
(xctx) \
)

Call method process of interface afw_request_handler.

Parameters
instancePointer to this adaptive request instance.
requestBuffer to store data read.
xctxExecution context (xctx) the request should run in. If this is a new request session, this should be the request session's xctx.

Definition at line 3992 of file afw_interface.h.

◆ afw_request_handler_release

#define afw_request_handler_release (   instance,
  xctx 
)
Value:
(instance)->inf->release( \
(instance), \
(xctx) \
)

Call method release of interface afw_request_handler.

Parameters
instancePointer to this adaptive request handler instance.
xctxThis is the caller's xctx.

Definition at line 3976 of file afw_interface.h.

Typedef Documentation

◆ afw_request_handler_process_t

typedef void(* afw_request_handler_process_t) (const afw_request_handler_t *instance, const afw_request_t *request, afw_xctx_t *xctx)
See also
afw_request_handler_process()

Definition at line 3958 of file afw_interface.h.

◆ afw_request_handler_release_t

typedef void(* afw_request_handler_release_t) (const afw_request_handler_t *instance, afw_xctx_t *xctx)
See also
afw_request_handler_release()

Definition at line 3952 of file afw_interface.h.