InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CusHttpLnkLinkResourceFactory Class Reference
Inheritance diagram for CusHttpLnkLinkResourceFactory:
CPMUnknown< IHTTPLinkSubsystemObjectFactory >IHTTPLinkSubsystemObjectFactoryIPMUnknown

Public Types

typedef CPMUnknown
< IHTTPLinkSubsystemObjectFactory
inherited
 

Public Member Functions

 CusHttpLnkLinkResourceFactory (IPMUnknown *boss)
 
virtual ~CusHttpLnkLinkResourceFactory ()
 
virtual void GetSchemes (K2Vector< WideString > &schemes) const
 
virtual ILinkResourceHandlerQueryHandler (const URI &uri, IDataBase *db) const
 
virtual ILinkResourceStateUpdaterQueryStateUpdater (const URI &uri, IDataBase *db) const
 
virtual
IHTTPLinkResourceConnection
QueryHTTPLinkResourceConnection (const URI &uri, IDataBase *db) const
 
virtual
IHTTPLinkResourceServerAPIWrapper
QueryHTTPLinkResourceServerAPIWrapper (const URI &uriScheme, IDataBase *db) const
 
- Public Member Functions inherited from CPMUnknown< IHTTPLinkSubsystemObjectFactory >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from CPMUnknown< IHTTPLinkSubsystemObjectFactory >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IHTTPLinkSubsystemObjectFactory >
HelperInterface fHelperInterface
 

Detailed Description

Implementation of IHTTPLinkSubsystemObjectFactory to instantiate link resource related classes,

Constructor & Destructor Documentation

CusHttpLnkLinkResourceFactory::CusHttpLnkLinkResourceFactory (IPMUnknownboss)

Constructor.

Parameters
bossIN interface ptr from boss object on which this interface is aggregated.
CusHttpLnkLinkResourceFactory::~CusHttpLnkLinkResourceFactory ()
virtual

Destructor.

Member Function Documentation

void CusHttpLnkLinkResourceFactory::GetSchemes (K2Vector< WideString > & schemes) const
virtual

Gets the URI scheme supported by the resource connection.

Parameters
schemes[OUT] all the registered schemes

Implements IHTTPLinkSubsystemObjectFactory.

ILinkResourceHandler * CusHttpLnkLinkResourceFactory::QueryHandler (const URIuri,
IDataBasedb 
) const
virtual

Returns the link resource handler that will be used by a link resource object to act on an resource whose URI scheme matches one of the supported schemes. Caller assumes responsibility for releasing the returned object.

Parameters
uri[IN] URI of the link resource the handler will be used for.
db[IN] Database that contains the link resource.
Returns
HTTP Link resource handler. \

Implements IHTTPLinkSubsystemObjectFactory.

IHTTPLinkResourceConnection * CusHttpLnkLinkResourceFactory::QueryHTTPLinkResourceConnection (const URIuri,
IDataBasedb 
) const
virtual

Returns the http link resource connection that will be used by a http links subsystem to interact with the http resource connection whose URI scheme matches one of the supported scheme. Caller assumes responsibility for releasing the returned object.

Parameters
uri[IN] URI of the link resource the handler will be used for.
db[IN] Database that contains the link resource.
Returns
Http Link resource connection. \

Implements IHTTPLinkSubsystemObjectFactory.

IHTTPLinkResourceServerAPIWrapper * CusHttpLnkLinkResourceFactory::QueryHTTPLinkResourceServerAPIWrapper (const URIuriScheme,
IDataBasedb 
) const
virtual

Returns the http link resource server API wrapper that will be used by a http links subsystem to interact with the http resource server whose URI scheme matches one of the supported scheme. Caller assumes responsibility for releasing the returned object.

Parameters
uri[IN] URI of the link resource the handler will be used for.
db[IN] Database that contains the link resource.
Returns
Http Link resource server API Wrapper. \

Implements IHTTPLinkSubsystemObjectFactory.

ILinkResourceStateUpdater * CusHttpLnkLinkResourceFactory::QueryStateUpdater (const URIuri,
IDataBasedb 
) const
virtual

Returns the link resource state updater that will be used to obtain and update the state of a link resource whose URI scheme matches one of the supported schemes. Caller assumes responsibility for releasing the returned object.

Parameters
uri[IN] URI of the link resource whose state will be updated.
db[IN] Database that contains the link resource.
Returns
HTTP Link resource state updater. \

Implements IHTTPLinkSubsystemObjectFactory.