KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | List of all members
DccDescriptor Class Reference

#include <DccDescriptor.h>

Public Member Functions

KviConsoleWindowconsole () const
 
 DccDescriptor (KviConsoleWindow *pConsole)
 
 DccDescriptor (const DccDescriptor &src)
 
unsigned int id () const
 
const QString & idString () const
 
bool isActive () const
 
bool isDccChat ()
 
bool isFileDownload ()
 
bool isFileTransfer ()
 
bool isFileUpload ()
 
bool isZeroPortRequest () const
 
QString localFileName () const
 
QString localFileSize () const
 
QString localHost () const
 
QString localIp () const
 
QString localNick () const
 
QString localPort () const
 
QString localUser () const
 
QString protocol () const
 
QString remoteFileName () const
 
QString remoteFileSize () const
 
QString remoteHost () const
 
QString remoteIp () const
 
QString remoteNick () const
 
QString remotePort () const
 
QString remoteUser () const
 
void setConsole (KviConsoleWindow *c)
 
void setTransfer (DccFileTransfer *t)
 
void setWindow (DccWindow *w)
 
void setZeroPortRequestTag (const KviCString &szTag)
 
DccFileTransfertransfer () const
 
void triggerCreationEvent ()
 
DccWindowwindow () const
 
const char * zeroPortRequestTag () const
 
 ~DccDescriptor ()
 

Static Public Member Functions

static KviPointerHashTable
< int, DccDescriptor > * 
descriptorDict ()
 
static DccDescriptorfind (unsigned int uId)
 

Public Attributes

bool bActive
 
bool bAutoAccept
 
bool bDoTimeout
 
bool bIsIncomingAvatar
 
bool bIsTdcc
 
bool bNoAcks
 
bool bOverrideMinimize
 
bool bRecvFile
 
bool bResume
 
bool bSendRequest
 
bool bShowMinimized
 
int iSampleRate
 
KviCString szCodec
 
QString szFakeIp
 
QString szFakePort
 
QString szFileName
 
QString szFileSize
 
QString szHost
 
QString szIp
 
QString szListenIp
 
QString szListenPort
 
QString szLocalFileName
 
QString szLocalFileSize
 
QString szLocalHost
 
QString szLocalNick
 
QString szLocalUser
 
QString szNick
 
QString szPort
 
QString szType
 
QString szUser
 

Protected Attributes

bool m_bCreationEventTriggered
 
KviConsoleWindowm_pConsole
 
DccFileTransferm_pDccTransfer
 
DccWindowm_pDccWindow
 
QString m_szId
 
KviCString m_szZeroPortRequestTag
 
unsigned int m_uId
 

Private Member Functions

void copyFrom (const DccDescriptor &src)
 

Constructor & Destructor Documentation

DccDescriptor::DccDescriptor ( KviConsoleWindow pConsole)
DccDescriptor::DccDescriptor ( const DccDescriptor src)

References copyFrom().

DccDescriptor::~DccDescriptor ( )

Member Function Documentation

KviConsoleWindow* DccDescriptor::console ( ) const
inline
void DccDescriptor::copyFrom ( const DccDescriptor src)
private
KviPointerHashTable< int, DccDescriptor > * DccDescriptor::descriptorDict ( )
static

References g_pDescriptorDict.

Referenced by dcc_kvs_fnc_sessionList().

DccDescriptor * DccDescriptor::find ( unsigned int  uId)
static
unsigned int DccDescriptor::id ( ) const
inline

References m_uId.

Referenced by dcc_kvs_fnc_session().

const QString& DccDescriptor::idString ( ) const
inline
bool DccDescriptor::isActive ( ) const
inline

References bActive.

Referenced by dcc_kvs_fnc_connectionType().

bool DccDescriptor::isDccChat ( )

References szType.

bool DccDescriptor::isFileDownload ( )

References szType.

Referenced by dcc_kvs_fnc_isFileDownload(), and isFileTransfer().

bool DccDescriptor::isFileTransfer ( )
inline
bool DccDescriptor::isFileUpload ( )
bool DccDescriptor::isZeroPortRequest ( ) const
inline
QString DccDescriptor::localFileName ( ) const
inline
QString DccDescriptor::localFileSize ( ) const
inline

References szLocalFileSize.

Referenced by dcc_kvs_fnc_localFileSize().

QString DccDescriptor::localHost ( ) const
inline

References szLocalHost.

Referenced by dcc_kvs_fnc_localHost().

QString DccDescriptor::localIp ( ) const
inline

References szIp.

Referenced by dcc_kvs_fnc_localIp().

QString DccDescriptor::localNick ( ) const
inline

References szLocalNick.

Referenced by dcc_kvs_fnc_localNick().

QString DccDescriptor::localPort ( ) const
inline

References szPort.

Referenced by dcc_kvs_fnc_localPort().

QString DccDescriptor::localUser ( ) const
inline

References szLocalUser.

Referenced by dcc_kvs_fnc_localUser().

QString DccDescriptor::protocol ( ) const
inline

References szType.

Referenced by dcc_kvs_fnc_protocol().

QString DccDescriptor::remoteFileName ( ) const
inline

References szFileName.

Referenced by dcc_kvs_fnc_remoteFileName().

QString DccDescriptor::remoteFileSize ( ) const
inline

References szFileSize.

Referenced by dcc_kvs_fnc_remoteFileSize().

QString DccDescriptor::remoteHost ( ) const
inline

References szHost.

Referenced by dcc_kvs_fnc_remoteHost().

QString DccDescriptor::remoteIp ( ) const
inline

References szIp.

Referenced by dcc_kvs_fnc_remoteIp().

QString DccDescriptor::remoteNick ( ) const
inline
QString DccDescriptor::remotePort ( ) const
inline

References szPort.

Referenced by dcc_kvs_fnc_remotePort().

QString DccDescriptor::remoteUser ( ) const
inline

References szUser.

Referenced by dcc_kvs_fnc_remoteUser().

void DccDescriptor::setConsole ( KviConsoleWindow c)
inline
void DccDescriptor::setTransfer ( DccFileTransfer t)
inline

References m_pDccTransfer, and t().

Referenced by DccFileTransfer::DccFileTransfer().

void DccDescriptor::setWindow ( DccWindow w)
inline

References m_pDccWindow, and w.

Referenced by DccWindow::DccWindow().

void DccDescriptor::setZeroPortRequestTag ( const KviCString szTag)
inline
DccFileTransfer* DccDescriptor::transfer ( ) const
inline
void DccDescriptor::triggerCreationEvent ( )
DccWindow* DccDescriptor::window ( ) const
inline
const char* DccDescriptor::zeroPortRequestTag ( ) const
inline

Member Data Documentation

bool DccDescriptor::bActive
bool DccDescriptor::bAutoAccept
bool DccDescriptor::bDoTimeout
bool DccDescriptor::bIsIncomingAvatar
bool DccDescriptor::bIsTdcc
bool DccDescriptor::bNoAcks
bool DccDescriptor::bOverrideMinimize
bool DccDescriptor::bRecvFile
bool DccDescriptor::bResume
bool DccDescriptor::bSendRequest
bool DccDescriptor::bShowMinimized
int DccDescriptor::iSampleRate
bool DccDescriptor::m_bCreationEventTriggered
protected
KviConsoleWindow* DccDescriptor::m_pConsole
protected
DccFileTransfer* DccDescriptor::m_pDccTransfer
protected
DccWindow* DccDescriptor::m_pDccWindow
protected
QString DccDescriptor::m_szId
protected
KviCString DccDescriptor::m_szZeroPortRequestTag
protected
unsigned int DccDescriptor::m_uId
protected
KviCString DccDescriptor::szCodec
QString DccDescriptor::szFakeIp
QString DccDescriptor::szFakePort
QString DccDescriptor::szFileName
QString DccDescriptor::szFileSize
QString DccDescriptor::szHost
QString DccDescriptor::szIp
QString DccDescriptor::szListenIp
QString DccDescriptor::szListenPort
QString DccDescriptor::szLocalFileName
QString DccDescriptor::szLocalFileSize
QString DccDescriptor::szLocalHost
QString DccDescriptor::szLocalNick
QString DccDescriptor::szLocalUser
QString DccDescriptor::szNick
QString DccDescriptor::szPort

Referenced by DccBroker::activeVideoExecute(), DccBroker::activeVideoManage(), DccBroker::activeVoiceExecute(), DccBroker::activeVoiceManage(), DccChatWindow::connected(), DccVoiceWindow::connected(), DccVideoWindow::connected(), DccFileTransfer::connected(), DccChatWindow::connectionInProgress(), DccVoiceWindow::connectionInProgress(), DccVideoWindow::connectionInProgress(), DccFileTransfer::connectionInProgress(), copyFrom(), dcc_kvs_cmd_chat(), dcc_kvs_cmd_recv(), dcc_kvs_cmd_send(), dcc_kvs_cmd_video(), dcc_kvs_cmd_voice(), DccDescriptor(), dccModuleParseDccCanvas(), dccModuleParseDccChat(), dccModuleParseDccGet(), dccModuleParseDccRecv(), dccModuleParseDccRSend(), dccModuleParseDccSend(), dccModuleParseDccVideo(), dccModuleParseDccVoice(), DccFileTransfer::displayPaint(), DccFileTransfer::event(), DccBroker::executeChat(), DccChatWindow::fillCaptionBuffers(), DccVoiceWindow::fillCaptionBuffers(), DccVideoWindow::fillCaptionBuffers(), DccChatWindow::getBaseLogFileName(), DccVoiceWindow::getBaseLogFileName(), DccVideoWindow::getBaseLogFileName(), DccBroker::handleChatRequest(), DccFileTransfer::listenOrConnect(), localPort(), DccBroker::passiveVideoExecute(), DccBroker::passiveVoiceExecute(), DccBroker::recvFileManage(), remotePort(), DccFileTransfer::resumeAccepted(), DccChatWindow::startConnection(), DccVoiceWindow::startConnection(), DccVideoWindow::startConnection(), DccFileTransfer::startConnection(), DccChatWindow::target(), DccVoiceWindow::target(), and DccVideoWindow::target().

QString DccDescriptor::szType
QString DccDescriptor::szUser

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