Savarese Software Research Corporation
ws/service.h File Reference

This header defines the WebService class. More...

Include dependency graph for ws/service.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WebService

Defines

#define WS_DELEGATE_ONE_WAY_CALL(call, impl, function_ptr)   set_call_handler_one_way(call, boost::bind(function_ptr, impl, _1, _2))
#define WS_DELEGATE_TWO_WAY_CALL(call, impl, function_ptr)   set_call_handler_two_way(call, boost::bind(function_ptr, impl, _1, _2))
#define WS_DELEGATE_ONE_WAY_CALL_WITH_PARAM(call, ws_type, param_type, impl, function_ptr)   set_call_handler_one_way(call, boost::bind(NS_SSRC_WSPR_WS::ws_call<ws_type, param_type>, impl, function_ptr, _1, _2))
#define WS_DELEGATE_TWO_WAY_CALL_WITH_PARAM(call, ws_type, param_type, impl, function_ptr)   set_call_handler_two_way(call, boost::bind(NS_SSRC_WSPR_WS::ws_call<ws_type, param_type>, impl, function_ptr, _1, _2))
#define WS_ONE_WAY_CALL(call, function_ptr)   WS_DELEGATE_ONE_WAY_CALL(call, this, function_ptr)
#define WS_TWO_WAY_CALL(call, function_ptr)   WS_DELEGATE_TWO_WAY_CALL(call, this, function_ptr)
#define WS_ONE_WAY_CALL_WITH_PARAM(call, ws_type, param_type, function_ptr)   WS_DELEGATE_ONE_WAY_CALL_WITH_PARAM(call, ws_type, param_type, this, function_ptr)
#define WS_TWO_WAY_CALL_WITH_PARAM(call, ws_type, param_type, function_ptr)   WS_DELEGATE_TWO_WAY_CALL_WITH_PARAM(call, ws_type, param_type, this, function_ptr)
#define WS_DELEGATE_ACTION(action, impl, function_ptr)   set_action_handler(action, boost::bind(function_ptr, impl, _1, _2))
#define WS_ACTION(action, function_ptr)   WS_DELEGATE_ACTION(action, this, function_ptr)
#define WS_DELEGATE_ACTION_WITH_PARAM(action, ws_type, param_type, impl, function_ptr)   set_action_handler(action, boost::bind(NS_SSRC_WSPR_WS::ws_call<ws_type, param_type>, impl, function_ptr, _1, _2))
#define WS_ACTION_WITH_PARAM(action, ws_type, param_type, function_ptr)   WS_DELEGATE_ACTION_WITH_PARAM(action, ws_type, param_type, this, function_ptr)

Detailed Description

This header defines the WebService class.

Definition in file ws/service.h.


Define Documentation

#define WS_ACTION (   action,
  function_ptr 
)    WS_DELEGATE_ACTION(action, this, function_ptr)

Definition at line 60 of file ws/service.h.

#define WS_ACTION_WITH_PARAM (   action,
  ws_type,
  param_type,
  function_ptr 
)    WS_DELEGATE_ACTION_WITH_PARAM(action, ws_type, param_type, this, function_ptr)

Definition at line 65 of file ws/service.h.

#define WS_DELEGATE_ACTION (   action,
  impl,
  function_ptr 
)    set_action_handler(action, boost::bind(function_ptr, impl, _1, _2))

Definition at line 58 of file ws/service.h.

#define WS_DELEGATE_ACTION_WITH_PARAM (   action,
  ws_type,
  param_type,
  impl,
  function_ptr 
)    set_action_handler(action, boost::bind(NS_SSRC_WSPR_WS::ws_call<ws_type, param_type>, impl, function_ptr, _1, _2))

Definition at line 63 of file ws/service.h.

#define WS_DELEGATE_ONE_WAY_CALL (   call,
  impl,
  function_ptr 
)    set_call_handler_one_way(call, boost::bind(function_ptr, impl, _1, _2))

Definition at line 39 of file ws/service.h.

#define WS_DELEGATE_ONE_WAY_CALL_WITH_PARAM (   call,
  ws_type,
  param_type,
  impl,
  function_ptr 
)    set_call_handler_one_way(call, boost::bind(NS_SSRC_WSPR_WS::ws_call<ws_type, param_type>, impl, function_ptr, _1, _2))

Definition at line 43 of file ws/service.h.

#define WS_DELEGATE_TWO_WAY_CALL (   call,
  impl,
  function_ptr 
)    set_call_handler_two_way(call, boost::bind(function_ptr, impl, _1, _2))

Definition at line 41 of file ws/service.h.

#define WS_DELEGATE_TWO_WAY_CALL_WITH_PARAM (   call,
  ws_type,
  param_type,
  impl,
  function_ptr 
)    set_call_handler_two_way(call, boost::bind(NS_SSRC_WSPR_WS::ws_call<ws_type, param_type>, impl, function_ptr, _1, _2))

Definition at line 45 of file ws/service.h.

#define WS_ONE_WAY_CALL (   call,
  function_ptr 
)    WS_DELEGATE_ONE_WAY_CALL(call, this, function_ptr)

Definition at line 48 of file ws/service.h.

#define WS_ONE_WAY_CALL_WITH_PARAM (   call,
  ws_type,
  param_type,
  function_ptr 
)    WS_DELEGATE_ONE_WAY_CALL_WITH_PARAM(call, ws_type, param_type, this, function_ptr)

Definition at line 52 of file ws/service.h.

#define WS_TWO_WAY_CALL (   call,
  function_ptr 
)    WS_DELEGATE_TWO_WAY_CALL(call, this, function_ptr)

Definition at line 50 of file ws/service.h.

Referenced by EventQueue::EventQueue().

#define WS_TWO_WAY_CALL_WITH_PARAM (   call,
  ws_type,
  param_type,
  function_ptr 
)    WS_DELEGATE_TWO_WAY_CALL_WITH_PARAM(call, ws_type, param_type, this, function_ptr)

Definition at line 54 of file ws/service.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.