Savarese Software Research Corporation
ws::WebServiceProtocol::MessageResponse Class Reference

#include <protocol.h>

Inheritance diagram for ws::WebServiceProtocol::MessageResponse:

List of all members.

Public Types

enum  
enum  

Public Member Functions

 MessageResponse (const session_ptr &session=session_ptr())
 MessageResponse (const session_ptr &session, Properties *template_data)
 MessageResponse (const session_ptr &session, const properties_ptr &template_data)
void set_succeeded (const string &msg="")
void set_failed (const string &msg="")
void set_error (const string &msg="")
bool succeeded () const
bool failed () const
bool error () const
const string & status_message () const
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 static_assert (WSPR_DEFINE_NAMESPACE(protocol)::WebService >=0 &&WSPR_DEFINE_NAMESPACE(protocol)::WebService<=WSPR_DEFINE_NAMESPACE(protocol)::MaxReserved,"protocol number out of range")

Public Attributes

session_ptr session
properties_ptr template_data

Detailed Description

Definition at line 306 of file ws/protocol.h.


Member Enumeration Documentation

anonymous enum [inherited]

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

anonymous enum [inherited]

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


Constructor & Destructor Documentation

ws::WebServiceProtocol::MessageResponse::MessageResponse ( const session_ptr &  session = session_ptr()) [inline, explicit]

Definition at line 321 of file ws/protocol.h.

ws::WebServiceProtocol::MessageResponse::MessageResponse ( const session_ptr &  session,
Properties *  template_data 
) [inline, explicit]

Definition at line 327 of file ws/protocol.h.

ws::WebServiceProtocol::MessageResponse::MessageResponse ( const session_ptr &  session,
const properties_ptr &  template_data 
) [inline, explicit]

Definition at line 333 of file ws/protocol.h.


Member Function Documentation

bool ws::WebServiceProtocol::MessageResponse::error ( ) const [inline]

Definition at line 355 of file ws/protocol.h.

bool ws::WebServiceProtocol::MessageResponse::failed ( ) const [inline]

Definition at line 353 of file ws/protocol.h.

template<class Archive >
void ws::WebServiceProtocol::MessageResponse::serialize ( Archive &  ar,
const unsigned  int 
) [inline]

Reimplemented from protocol::MessageWebService< Response >.

Definition at line 360 of file ws/protocol.h.

void ws::WebServiceProtocol::MessageResponse::set_error ( const string &  msg = "") [inline]

Definition at line 347 of file ws/protocol.h.

void ws::WebServiceProtocol::MessageResponse::set_failed ( const string &  msg = "") [inline]

Definition at line 343 of file ws/protocol.h.

void ws::WebServiceProtocol::MessageResponse::set_succeeded ( const string &  msg = "") [inline]

Definition at line 339 of file ws/protocol.h.

protocol::MessageWebService< _id >::static_assert ( WSPR_DEFINE_NAMESPACE(protocol)::WebService >=0 &&WSPR_DEFINE_NAMESPACE(protocol)::WebService<=WSPR_DEFINE_NAMESPACE(protocol)::MaxReserved  ,
"protocol number out of range"   
) [inherited]
const string& ws::WebServiceProtocol::MessageResponse::status_message ( ) const [inline]

Definition at line 357 of file ws/protocol.h.

bool ws::WebServiceProtocol::MessageResponse::succeeded ( ) const [inline]

Definition at line 351 of file ws/protocol.h.


Member Data Documentation

Definition at line 318 of file ws/protocol.h.

Definition at line 319 of file ws/protocol.h.


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

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