BALL::VIEW::FetchHTMLThread Class Reference

#include <BALL/VIEW/KERNEL/threads.h>

Inheritance diagram for BALL::VIEW::FetchHTMLThread:
BALL::VIEW::BALLThread QThread

List of all members.


Public Member Functions

 FetchHTMLThread ()
void setURL (const String &text)
virtual void run ()
virtual void abort ()
void setFilename (const String &file_name)
const StringgetFilename () const
TCPTransfergetTCPTransfer ()
std::stringstream & getStream ()

Protected Attributes

String url_
String file_name_
TCPTransfer tcp_
std::stringstream stream_

Detailed Description

Thread to fetch a file over TCP network traffic. The result can either be stored in a file or in a stringstream. This is the default, if no filename is given.


Constructor & Destructor Documentation

BALL::VIEW::FetchHTMLThread::FetchHTMLThread (  ) 

Member Function Documentation

virtual void BALL::VIEW::FetchHTMLThread::abort (  )  [inline, virtual]
const String& BALL::VIEW::FetchHTMLThread::getFilename (  )  const [inline]
std::stringstream& BALL::VIEW::FetchHTMLThread::getStream (  )  [inline]
TCPTransfer& BALL::VIEW::FetchHTMLThread::getTCPTransfer (  )  [inline]
virtual void BALL::VIEW::FetchHTMLThread::run (  )  [virtual]

Overloaded from QThread::run(), overload again in derived classes!

Reimplemented from BALL::VIEW::BALLThread.

void BALL::VIEW::FetchHTMLThread::setFilename ( const String file_name  )  [inline]
void BALL::VIEW::FetchHTMLThread::setURL ( const String text  ) 

Member Data Documentation

std::stringstream BALL::VIEW::FetchHTMLThread::stream_ [protected]