Hi,
There is a function in staff::ServiceClient:
//! send payload and check result, returned by server
/*! MEP: Robust Out-Only
\param rdoPayload - request to service
*/
void SendRobust(DataObject& rdoPayload);
To change MEP from service interface you can use mep metacomment. Supported values are:
- in-only
- in-out
- robust out-only
example of service interface with MEP:
class MyWs: public staff::IService
{
public:
// *mep: in-only
virtual void test(const std::string& text) = 0;
};
пятница, 26 сентября 2014 г., 19:02:12 UTC+4 пользователь Mike написал: