#include <peerlistpump.h>
Public Member Functions | |
| CPeerListPump (TProtocol aProtocol, RCobainClientSession &aClientSession) | |
| ~CPeerListPump () | |
| void | DiscoverPeers (TUint aServiceClassID, MNetworkDriverListener *aListener) |
| Asynchronously retrieves the peer list. | |
| void | RunL () |
| void | DoCancel () |
Private Types | |
| enum | TOperationStatus { ENone, ECountPeers, EFetchPeer } |
Private Member Functions | |
| void | AddPeerToListL () |
| Adds the currently fetched peer to the peer list. | |
Private Attributes | |
| RCobainClientSession & | iClientSession |
| TProtocol | iProtocol |
| TUint | iServiceClassID |
| MNetworkDriverListener * | iListener |
| TOperationStatus | iOperationStatus |
| TInt | iNumPeers |
| TInt | iNextPeerOrdinal |
| TPckgBuf< TInt > | iPeerCountBuffer |
| TPeerDataBuf | iPeerDataBuffer |
| TPeerList * | iPeerList |
Definition at line 38 of file peerlistpump.h.
|
|
Definition at line 75 of file peerlistpump.h. |
|
||||||||||||
|
Definition at line 29 of file peerlistpump.cpp. |
|
|
Definition at line 39 of file peerlistpump.cpp. References iListener. |
|
|
Adds the currently fetched peer to the peer list.
Definition at line 57 of file peerlistpump.cpp. References iClientSession, iPeerDataBuffer, iPeerList, iProtocol, CNetworkPeer::NewL(), and TPeerList. Referenced by RunL(). |
|
||||||||||||
|
Asynchronously retrieves the peer list.
Definition at line 47 of file peerlistpump.cpp. References RCobainClientSession::DiscoverPeers(), ECountPeers, iClientSession, iListener, iOperationStatus, iPeerCountBuffer, iProtocol, and iServiceClassID. Referenced by CDriverBase::DiscoverPeersL(), and CDriver::DiscoverPeersL(). |
|
|
Definition at line 120 of file peerlistpump.cpp. References iListener, MNetworkDriverListener::PeerListComplete(), Log::Print(), and TPeerList. |
|
|
Definition at line 73 of file peerlistpump.cpp. References AddPeerToListL(), ECountPeers, EFetchPeer, ENone, RCobainClientSession::FetchPeerData(), iClientSession, iListener, iNextPeerOrdinal, iNumPeers, iOperationStatus, iPeerCountBuffer, iPeerDataBuffer, iPeerList, MNetworkDriverListener::PeerListComplete(), MNetworkDriverListener::PeerListRetrievalFailed(), and TPeerList. |
|
|
Definition at line 63 of file peerlistpump.h. Referenced by AddPeerToListL(), DiscoverPeers(), and RunL(). |
|
|
Definition at line 72 of file peerlistpump.h. Referenced by DiscoverPeers(), DoCancel(), RunL(), and ~CPeerListPump(). |
|
|
Definition at line 88 of file peerlistpump.h. Referenced by RunL(). |
|
|
Definition at line 85 of file peerlistpump.h. Referenced by RunL(). |
|
|
Definition at line 82 of file peerlistpump.h. Referenced by DiscoverPeers(), and RunL(). |
|
|
Definition at line 91 of file peerlistpump.h. Referenced by DiscoverPeers(), and RunL(). |
|
|
Definition at line 94 of file peerlistpump.h. Referenced by AddPeerToListL(), and RunL(). |
|
|
Definition at line 97 of file peerlistpump.h. Referenced by AddPeerToListL(), and RunL(). |
|
|
Definition at line 66 of file peerlistpump.h. Referenced by AddPeerToListL(), and DiscoverPeers(). |
|
|
Definition at line 69 of file peerlistpump.h. Referenced by DiscoverPeers(). |
1.3.5