sbSeekableChannel Class Reference

#include <SeekableChannel.h>

Inheritance diagram for sbSeekableChannel:
[legend]
Collaboration diagram for sbSeekableChannel:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBISEEKABLECHANNEL
NS_DECL_NSISTREAMLISTENER
NS_DECL_NSIREQUESTOBSERVER
NS_DECL_NSICHANNELEVENTSINK
NS_DECL_NSIINTERFACEREQUESTOR 
sbSeekableChannel ()
 
virtual ~sbSeekableChannel ()
 
- Public Member Functions inherited from sbISeekableChannel
void open (in nsIChannel aChannel, in sbISeekableChannelListener aListener)
 Open the channel and start downloading the file. More...
 
void close ()
 Close the channel and free all references. More...
 
void skip (in PRUint64 aDistance)
 Skip forward in the read buffer. More...
 
PRUint32 read (in charPtr aBuffer, in PRUint32 aSize)
 Read from the buffer. More...
 
char readChar ()
 Read a byte from the buffer. More...
 
PRInt32 readInt32 ()
 Read a 32bit int from the buffer. More...
 
PRInt64 readInt64 ()
 Read a 64bit int from the buffer. More...
 

Additional Inherited Members

- Public Attributes inherited from sbISeekableChannel
attribute PRUInt64 pos
 The current read position (for the read methods) More...
 
readonly attribute PRUInt64 size
 The size of the file targeted by the nsIChannel. More...
 
readonly attribute PRBool completed
 If the nsIChannel has finished (by completion or error) More...
 

Detailed Description

Definition at line 106 of file SeekableChannel.h.

Constructor & Destructor Documentation

sbSeekableChannel::sbSeekableChannel ( )

Definition at line 668 of file SeekableChannel.cpp.

sbSeekableChannel::~sbSeekableChannel ( )
virtual

Definition at line 681 of file SeekableChannel.cpp.


The documentation for this class was generated from the following files: