pelican/server/test/src/TestChunker.cpp
/**
 * @details
 * Constructs a new TestChunker.
 */
@details
Constructs a new TestChunker.
@details Constructs a new TestChunker .
TestChunker::TestChunker(const QString& type, bool badSocket, size_t size,
        const QString& host, quint16 port, QObject* parent)
: QThread(parent), AbstractChunker(), _abort(false)
{
    addChunkType(type);
    setHost(host);
    setPort(port);
    _device = 0;
    _badSocket = badSocket;
    _size = size;
    start();
}
TestChunker :: TestChunker ( const QString & type , bool badSocket , size_t size , const QString & host , quint16 port , QObject * parent ) : QThread ( parent ) , AbstractChunker ( ) , _abort ( false ) { addChunkType ( type ) ; setHost ( host ) ; setPort ( port ) ; _device = 0 ; _badSocket = badSocket ; _size = size ; start ( ) ; }
@details
 Constructs a new TestChunker.
@details Constructs a new TestChunker .