1.7.2.9
Gameface
cohtml::IAsyncResourceStreamResponse Class Referenceabstract

Response that the application should use when the resource stream has been created You can keep a reference to this object as long as needed and call Finish afterwards. More...

Public Types

enum  Status { Success, Failure }
 

Public Member Functions

virtual ~IAsyncResourceStreamResponse ()
 
virtual void SetStreamReader (ISyncStreamReader *reader)=0
 Set the ISyncStreamReader instance for the requested resource. More...
 
virtual void Finish (Status status)=0
 Call when the resource stream has been loaded or the load failed. NB: It's not safe to call other methods on this interface after Finish. More...
 

Detailed Description

Response that the application should use when the resource stream has been created You can keep a reference to this object as long as needed and call Finish afterwards.

Member Enumeration Documentation

◆ Status

Enumerator
Success 
Failure 

Constructor & Destructor Documentation

◆ ~IAsyncResourceStreamResponse()

virtual cohtml::IAsyncResourceStreamResponse::~IAsyncResourceStreamResponse ( )
virtual

Member Function Documentation

◆ Finish()

virtual void cohtml::IAsyncResourceStreamResponse::Finish ( Status  status)
pure virtual

Call when the resource stream has been loaded or the load failed. NB: It's not safe to call other methods on this interface after Finish.

◆ SetStreamReader()

virtual void cohtml::IAsyncResourceStreamResponse::SetStreamReader ( ISyncStreamReader reader)
pure virtual

Set the ISyncStreamReader instance for the requested resource.