PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBWebEng
Wrapper class for the IWebEng interface.
#include <SFBWebEng.h.hpp>
class SFBWebEng : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBWebEng)

Inheritance diagram

 Inheritance diagram of SFBWebEngClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
X X O O

Reference

BREW API IWebEng

Member

Public Functions
SFCError Transaction( SFBWebSmpConstRef web , SFBWebReqSmpConstRef request , SFXCallbackPtr callback , SFBWebRespSmpPtr webResp )
Start the SFBWeb Transaction peocess.
SFCError QueryInterface( AEECLSID clsid , VoidHandle handle ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
SFCError QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
SFBBaseSmp QueryInterface( AEECLSID clsid ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
Void Self( AEECLSID clsidReq , SFBQuerySmpPtr clone , AEECLSID clsidImp ) (inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
SFBQuerySmp Self( AEECLSID clsidReq , AEECLSID clsidImp ) (inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
Protected Functions
static
SFBBaseSmp
FactoryByCreate( AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface.
static
SFBBaseSmp
FactoryByQuery( SFBQuerySmpConstRef query , AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.

SFBWebEng::Transaction
Start the SFBWeb Transaction peocess.
[ public ]
SFCError Transaction(
    SFBWebSmpConstRef web          // pointer to the SFBWeb object that process the WebRequest
    SFBWebReqSmpConstRef request   // request, contains the URL or information about the transaction
    SFXCallbackPtr callback        // callback
    SFBWebRespSmpPtr webResp       // where to keep the new SFBWebResp
);

Return value

  • If succeeds: SFERR_NO_ERROR
  • If failed: Error code defined in AEEError.h

Reference

BREW API IWEBENG_Transaction | SFBWeb::GetResponse