Savarese Software Research Corporation
WebService Class Reference

#include <service.h>

Inheritance diagram for WebService:

List of all members.

Public Types

typedef WebServiceProtocol protocol_traits

Public Member Functions

 WebService (super::caller_type &caller)
virtual ~WebService ()

Protected Member Functions

 WISP_IMPORT (protocol_traits, parameter_map)
 WISP_IMPORT (protocol_traits, MessageOneWay)
 WISP_IMPORT (protocol_traits, MessageTwoWay)
 WISP_IMPORT (protocol_traits, MessageResponse)
 WISP_IMPORT (protocol_traits, MessageDeliverEvent)
 WISP_IMPORT (protocol_traits, MessageDeliverEvents)
 WISP_IMPORT (protocol_traits, CallOneWay)
 WISP_IMPORT (protocol_traits, CallTwoWay)
 WISP_IMPORT (protocol_traits, CallResponse)
 WISP_IMPORT (protocol_traits, CallDeliverEvent)
 WISP_IMPORT (protocol_traits, CallDeliverEvents)
bool set_call_handler_one_way (const string &call, const call_handler_type &call_handler)
bool set_call_handler_two_way (const string &call, const call_handler_type &call_handler)
bool set_action_handler (ActionConfig &action, const call_handler_type &call_handler)
void one_way_call (const WebServiceCall &call, const MessageInfo &msginfo)
void two_way_call (const WebServiceCall &call, const MessageInfo &msginfo)
void process_request (const MessageOneWay &msg, const MessageInfo &msginfo)
void process_request (const MessageTwoWay &msg, const MessageInfo &msginfo)

Protected Attributes

boost::ptr_vector< ActionConfig > _actions
ActionConfig &new_action(const
Properties &action_map, const
string &key) SSRC_DECL_THROW(std
void 
clear_call_handlers ()

Friends

class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits >

Detailed Description

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


Member Typedef Documentation

typedef WebServiceProtocol WebService::protocol_traits

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


Constructor & Destructor Documentation

WebService::WebService ( super::caller_type &  caller) [explicit]

Definition at line 135 of file ws/service.cc.

References service_type().

virtual WebService::~WebService ( ) [inline, virtual]

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


Member Function Documentation

void WebService::one_way_call ( const WebServiceCall &  call,
const MessageInfo &  msginfo 
) [inline, protected]

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

void WebService::process_request ( const MessageOneWay &  msg,
const MessageInfo &  msginfo 
) [inline, protected]

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

void WebService::process_request ( const MessageTwoWay &  msg,
const MessageInfo &  msginfo 
) [inline, protected]

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

bool WebService::set_action_handler ( ActionConfig &  action,
const call_handler_type call_handler 
) [protected]

Definition at line 113 of file ws/service.cc.

References validate_call().

bool WebService::set_call_handler_one_way ( const string call,
const call_handler_type call_handler 
) [protected]

Definition at line 98 of file ws/service.cc.

bool WebService::set_call_handler_two_way ( const string call,
const call_handler_type call_handler 
) [protected]

Definition at line 106 of file ws/service.cc.

void WebService::two_way_call ( const WebServiceCall &  call,
const MessageInfo &  msginfo 
) [inline, protected]

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

WebService::WISP_IMPORT ( protocol_traits  ,
MessageOneWay   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
MessageTwoWay   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
MessageResponse   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
MessageDeliverEvent   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
MessageDeliverEvents   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
CallOneWay   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
CallTwoWay   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
CallResponse   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
CallDeliverEvent   
) [protected]
WebService::WISP_IMPORT ( protocol_traits  ,
CallDeliverEvents   
) [protected]

Friends And Related Function Documentation

friend class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > [friend]

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


Member Data Documentation

boost::ptr_vector<ActionConfig> WebService::_actions [protected]

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

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


The documentation for this class was generated from the following files:

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