#include <PeerFinder.h>
List of all members.
Detailed Description
the peer finder broadcasts a message over the local network. The message is replayed by all peers
Constructor & Destructor Documentation
| TPeerFinder::TPeerFinder |
( |
Uint |
uiListeningPort, |
|
|
Uint |
uiProviderPort |
|
) |
| |
creates a peer finder
- Parameters:
-
| uiListeningPort | : Port of the listening socket |
| uiProviderPort | : Port of the providers |
| TPeerFinder::TPeerFinder |
( |
const TString & |
rListeningAddress, |
|
|
Uint |
uiListeningPort, |
|
|
Uint |
uiProviderPort |
|
) |
| |
creates a peer finder
- Parameters:
-
| rListeningAddress | : address of the listening socket |
| uiListeningPort | : Port of the listening socket |
| uiProviderPort | : Port of the providers |
| TPeerFinder::~TPeerFinder |
( |
) |
[protected, virtual] |
Member Function Documentation
| virtual void MQUALIFIER zeus::TPeerFinder::addRef |
( |
) |
const [virtual] |
| virtual Retval MQUALIFIER zeus::TPeerFinder::askForInterface |
( |
const InterfaceID & |
rInterfaceID, |
|
|
IZUnknown *& |
rpIface |
|
) |
| [virtual] |
| Retval MQUALIFIER TPeerFinder::attach |
( |
IObserver & |
rObserver ) |
[virtual] |
| Retval MQUALIFIER TPeerFinder::detach |
( |
IObserver & |
rObserver ) |
[virtual] |
| void TPeerFinder::execute |
( |
) |
[protected, virtual] |
| void TPeerFinder::notifyPeerFound |
( |
TDatagramPacket & |
rPacket ) |
[protected] |
Notification if a peer has been found
| virtual void MQUALIFIER zeus::TPeerFinder::release |
( |
) |
const [virtual] |
| void zeus::TPeerFinder::setContinueSearching |
( |
bool |
bMode ) |
[inline] |
sets the continue searching mode
| void TPeerFinder::setProviderAddress |
( |
const TString & |
rProviderAddress ) |
|
sets the provider address. Default is a broadcast address 255.255.255.255.
| void zeus::TPeerFinder::setQueryTimeout |
( |
const Float & |
rfTimeout ) |
[inline] |
| void zeus::TPeerFinder::setReceivingTimeout |
( |
const Float & |
rfTimeout ) |
[inline] |
| bool TPeerFinder::signalizeStop |
( |
Float64 |
dTimeOut = 5.0 ) |
[virtual] |
| void zeus::TPeerFinder::startSearch |
( |
) |
[inline] |
| void zeus::TPeerFinder::stopSearch |
( |
) |
[inline] |
The documentation for this class was generated from the following files: