Logo Search packages:      
Sourcecode: qchat version File versions  Download package

LargeDatagramOut Class Reference

#include <largedatagramout.h>

List of all members.


Detailed Description

Author:
Anistratov Oleg <ower@users.sourceforge.net>

Definition at line 28 of file largedatagramout.h.


Public Slots

void selfDestroy ()
void slot_confirmed (unsigned short ID)

Signals

void sendingCancelled (quint16)
void wantDie (LargeDatagramOut *)

Public Member Functions

void acceptSending ()
const QHostAddress & addr () const
bool complete () const
void fragmentsRequest (const char *, quint16)
quint32 id () const
void init (char *hdr, quint16 hdr_sz, const QString &filename, const QHostAddress &addr, quint32 ID)
void init (char *hdr, quint16 hdr_sz, char *data, quint32 data_sz, const QHostAddress &addr, quint32 ID)
 LargeDatagramOut (QObject *parent=0)
void prepareInitHeader ()
void sendNextFragment (QUdpSocket *socket, quint16 port, char *buf)
quint32 writeFragment (char *buf, quint32 num)

Private Attributes

bool m_confirmed
char * m_data
quint32 m_dataSize
QHostAddress m_destAddr
QFile m_file
QString m_filename
quint64 m_fileSize
char * m_fragments
quint32 m_fragmentsRemain
char * m_header
quint16 m_headerSize
quint32 m_id
bool m_inited
bool m_rest
quint32 m_selfDestroyInterval
QTimer * m_selfDestroyTimer
 pokazyvaet kakie fragmenty otoslany
quint32 m_sizePerFragment
quint32 m_totalFragments

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

Generated by  Doxygen 1.6.0   Back to index