#include <driverbase.h>
Inheritance diagram for CDriverBase:

Public Member Functions | |
| CDriverBase (RCobainClientSession &aClientSession, TProtocol aProtocol) | |
| virtual | ~CDriverBase () |
| TProtocol | GetProtocol () |
| Returns the protocol (type) of this driver. | |
| void | ListenL (TUint aPort, MConnectionListener *aListener) |
| void | StopListeningL () |
| Aborts the current listen operation. | |
| void | DiscoverPeersL (TUint aServiceClassID, MNetworkDriverListener *aListener) |
| Asynchronously retrieves the network peers. | |
| void | CancelPeerDiscovery () |
| Cancels pending peer discovery. | |
Protected Attributes | |
| RCobainClientSession & | iClientSession |
| MNetworkDriverListener * | iListener |
| CConnectionListener * | iConnectionListener |
Private Attributes | |
| TProtocol | iProtocol |
| CPeerListPump | iPeerListPump |
Definition at line 40 of file driverbase.h.
|
||||||||||||
|
Definition at line 28 of file driverbase.cpp. |
|
|
Definition at line 36 of file driverbase.cpp. References iConnectionListener, iPeerListPump, and StopListeningL(). |
|
|
Cancels pending peer discovery.
Implements MNetworkDriver. Definition at line 86 of file driverbase.cpp. References iPeerListPump. |
|
||||||||||||
|
Asynchronously retrieves the network peers. PeerListComplete() will be called for the MNetworkDriverListener implementation upon completion of the peer list. Legal values to supply in the aServiceID parameter:
Implements MNetworkDriver. Definition at line 81 of file driverbase.cpp. References CPeerListPump::DiscoverPeers(), and iPeerListPump. |
|
|
Returns the protocol (type) of this driver.
Implements MNetworkDriver. Definition at line 46 of file driverbase.h. |
|
||||||||||||
|
Definition at line 48 of file driverbase.cpp. References iClientSession, iConnectionListener, iProtocol, KErrDriverAlreadyListening, and CConnectionListener::Listen(). |
|
|
Aborts the current listen operation. No more incoming connections will be received. If there is no pending listen operation, this method will leave with KErrDriverNotListening. Implements MNetworkDriver. Definition at line 63 of file driverbase.cpp. References iConnectionListener, iListener, and KErrDriverNotListening. Referenced by ~CDriverBase(). |
|
|
Definition at line 54 of file driverbase.h. Referenced by ListenL(). |
|
|
Definition at line 60 of file driverbase.h. Referenced by ListenL(), StopListeningL(), and ~CDriverBase(). |
|
|
Definition at line 57 of file driverbase.h. Referenced by StopListeningL(). |
|
|
Definition at line 67 of file driverbase.h. Referenced by CancelPeerDiscovery(), DiscoverPeersL(), and ~CDriverBase(). |
|
|
Definition at line 64 of file driverbase.h. Referenced by GetProtocol(), and ListenL(). |
1.3.5