Test
C++
code posted
created at 14 Feb 09:53
Edit
|
Back
1 2 3 4 5 6 7 8 9 |
virtual int send_event_async(int eventNo) { return this->send_event_async(NULL, NULL, eventNo); } virtual int send_event_async(const char *endpoint, const char *soap_action, int eventNo); /// Web service one-way receive operation 'recv_event-async' (returns error code or SOAP_OK); virtual int recv_event_async(struct ns__event_async&); /// Web service receive of HTTP Accept acknowledgment for one-way send operation 'send_event-async' (returns error code or SOAP_OK) virtual int recv_event_async_empty_response() { return soap_recv_empty_response(this); } /// Web service one-way synchronous send operation 'event-async' with HTTP Accept/OK response receive (returns error code or SOAP_OK) virtual int event_async(int eventNo) { return this->event_async(NULL, NULL, eventNo); } virtual int event_async(const char *endpoint, const char *soap_action, int eventNo) { if (this->send_event_async(endpoint, soap_action, eventNo) || soap_recv_empty_response(this)) return this->error; return SOAP_OK; } |
1013 Bytes in 2 ms with coderay