cohtml.Net.ResourceStreamResponse
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.
Inherits from SystemIDisposable
Public Types
Name | |
---|---|
enum class | Status { Success, Failure} |
Public Functions
Name | |
---|---|
virtual void | Dispose() |
virtual void | SetStreamReader(ISyncStreamReader reader) Set the ISyncStreamReader instance for the requested resource. |
virtual void | Finish(ResourceStreamResponse.Status status) Call when the resource stream has been loaded or the load failed. After this call the object is invalidated. NB: It’s not safe to call any method on this interface after Finish. |
Protected Attributes
Name | |
---|---|
bool | swigCMemOwn |
Public Types Documentation
enum Status
Enumerator | Value | Description |
---|---|---|
Success | ||
Failure |
Public Functions Documentation
function Dispose
virtual void Dispose()
function SetStreamReader
virtual void SetStreamReader(
ISyncStreamReader reader
)
Set the ISyncStreamReader instance for the requested resource.
function Finish
virtual void Finish(
ResourceStreamResponse.Status status
)
Call when the resource stream has been loaded or the load failed. After this call the object is invalidated. NB: It’s not safe to call any method on this interface after Finish.
Protected Attributes Documentation
variable swigCMemOwn
bool swigCMemOwn;