#include <cobain.h>
Public Member Functions | |
| virtual TPeerList * | GetPeersL (TUint aPort)=0 |
| Synchronously retrieves the network peers. | |
| virtual void | DiscoverPeersL (TUint aPort, MNetworkDriverListener *aListener)=0 |
| Asynchronously retrieves the network peers. | |
| virtual void | CancelPeerDiscovery ()=0 |
| Cancels pending peer discovery. | |
| virtual TProtocol | GetProtocol ()=0 |
| Returns the protocol (type) of this driver. | |
| virtual void | ListenL (TUint aPort, MConnectionListener *aListener)=0 |
| Listen to incoming connections. | |
| virtual void | StopListeningL ()=0 |
| Aborts the current listen operation. | |
|
||||||||||||
|
Asynchronously retrieves the network peers. PeerListComplete() will be called for the MNetworkDriverListener implementation upon completion of the peer list.
|
|
|
Synchronously retrieves the network peers. It is up to the caller to release the list.
|
|
|
Returns the protocol (type) of this driver.
|
|
||||||||||||
|
Listen to incoming connections. If there is a listen operation already pending, leaves with KErrDriverAlreadyListening.
|
|
|
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. |
1.3.5