HandshakerTester Class Reference

Inherits QObject.

Inheritance diagram for HandshakerTester:

Inheritance graph
[legend]
Collaboration diagram for HandshakerTester:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 18 of file HandshakerTester.cpp.

Public Member Functions

 HandshakerTester (QCoreApplication *, quint16, NodeType)
 ~HandshakerTester ()
void listenToNetwork ()
void connectToNetwork ()

Private Slots

void newConnection ()
void handshakingCompleted (Connection *, NodeInfo)
void handshakingFailed (Connection *, Gnutella::Handshaking::HandshakeError)
void acceptHandshakeConnection (QTcpSocket *)

Private Attributes

QCoreApplicationapp
LocalPeerlocalPeer
NodeCachenodeCache
SlotAllocatorslotAllocator
Handshakerhandshaker
TcpConnection * tcpConnection
quint16 port
QTcpServer * server


Constructor & Destructor Documentation

HandshakerTester::HandshakerTester QCoreApplication ,
quint16  ,
NodeType 
 

Definition at line 46 of file HandshakerTester.cpp.

HandshakerTester::~HandshakerTester  ) 
 

Definition at line 69 of file HandshakerTester.cpp.


Member Function Documentation

void HandshakerTester::acceptHandshakeConnection QTcpSocket *   )  [private, slot]
 

Definition at line 115 of file HandshakerTester.cpp.

void HandshakerTester::connectToNetwork  ) 
 

Definition at line 78 of file HandshakerTester.cpp.

void HandshakerTester::handshakingCompleted Connection *  ,
NodeInfo 
[private, slot]
 

Definition at line 93 of file HandshakerTester.cpp.

void HandshakerTester::handshakingFailed Connection *  ,
Gnutella::Handshaking::HandshakeError 
[private, slot]
 

Definition at line 101 of file HandshakerTester.cpp.

void HandshakerTester::listenToNetwork  ) 
 

Definition at line 87 of file HandshakerTester.cpp.

void HandshakerTester::newConnection  )  [private, slot]
 

Definition at line 108 of file HandshakerTester.cpp.


Member Data Documentation

QCoreApplication* HandshakerTester::app [private]
 

Definition at line 36 of file HandshakerTester.cpp.

Handshaker* HandshakerTester::handshaker [private]
 

Definition at line 40 of file HandshakerTester.cpp.

LocalPeer* HandshakerTester::localPeer [private]
 

Definition at line 37 of file HandshakerTester.cpp.

NodeCache* HandshakerTester::nodeCache [private]
 

Definition at line 38 of file HandshakerTester.cpp.

quint16 HandshakerTester::port [private]
 

Definition at line 42 of file HandshakerTester.cpp.

QTcpServer* HandshakerTester::server [private]
 

Definition at line 43 of file HandshakerTester.cpp.

SlotAllocator* HandshakerTester::slotAllocator [private]
 

Definition at line 39 of file HandshakerTester.cpp.

TcpConnection* HandshakerTester::tcpConnection [private]
 

Definition at line 41 of file HandshakerTester.cpp.


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