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 classStatus { Success, Failure}

Public Functions

Name
virtual voidDispose()
virtual voidSetStreamReader(ISyncStreamReader reader)
Set the ISyncStreamReader instance for the requested resource.
virtual voidFinish(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
boolswigCMemOwn

Public Types Documentation

enum Status

EnumeratorValueDescription
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;