#include <IHttpCameraRequest.h>
Inheritance diagram for mx::IHttpCameraRequest:
Public Member Functions | |
virtual void | setTimeout (u32 uTimeoutMs)=0 |
virtual void | callSlot (bool bDefered=false)=0 |
virtual EHttpError | httpError () const =0 |
virtual bool | signalled () const =0 |
virtual bool | completed () const =0 |
virtual bool | inSlot () const =0 |
virtual bool | sendDelayed () const =0 |
virtual int | group () const =0 |
virtual bool | send (QHttp *pHttp)=0 |
virtual void | setSignalled (bool bSignalled=true)=0 |
virtual void | setClientSlot (const mxmQtSlot &slot)=0 |
virtual mxmQtSignal | requestFinishedSignal () const =0 |
virtual void | setClientContext (void *pContext)=0 |
virtual void | setDriverContext (void *pContext)=0 |
virtual void | setRequestString (const mxmStringList &requestStrings)=0 |
virtual mxm::smart< mxmStringList > | getResponse ()=0 |
virtual void | setUserAndPassword (const mxmString &user, const mxmString &pwd)=0 |
virtual void | setHost (const mxmString &host, u16 uPort)=0 |
virtual void | setProxy (const mxmString &proxy, u16 uProxyPort)=0 |
virtual void | setSSL (const mxmString &proxy, u16 uProxyPort)=0 |
virtual void * | driverContext ()=0 |
virtual void | abort ()=0 |
virtual void | waitUntilRebooted (const mxmString &host, u16 uPort, int iRebootTimeOut)=0 |
NOTE: This interface relates on Qt
|
set the request state to aborted: |
|
call the slot set by the method |
|
indicates that the camera has responses from all all atomic requests. |
|
retrieve the current error status of the request. |
|
The signal requestFinished(IHttpCameraRequest*) is emitted after all atomic requests are completed successfully or after the first unsuccessful request. |
|
the client can set its own context, which is stored in the request itself. The client must handle memory allocation and deallocation. |
|
the driver can set its own context, which is stored in the request itself. The caller must handle memory allocation and deallocation. |
|
add a host and a port to the request. Normally you should set this only once, but it is perfectly legal to call this more than once. |
|
add a proxy and a proxy port to the request. Normally you should set this only once, but it is perfectly legal to call this more than once. |
|
add SSL socket, proxy need not to be set. |
|
set a timeout. If the complex request is not finished within uTimeoutMs, the error state of the request is set to EHttpTimeOutError |
|
add a user and a password to the request. Normally you should set this only once, but it is perfectly legal to call this more than once. |
|
indicates that the client slot was already called. |