#include </home/clem/local/src/opie/libopie2/opienet/onetwork.h>
Collaboration diagram for Opie::Net::OChannelHopper:

Signals | |
| void | hopped (int) |
Public Member Functions | |
| OChannelHopper (OWirelessNetworkInterface *) | |
| virtual | ~OChannelHopper () |
| bool | isActive () const |
| int | channel () const |
| void | setInterval (int interval) |
| int | interval () const |
Protected Member Functions | |
| virtual void | timerEvent (QTimerEvent *) |
Private Attributes | |
| OWirelessNetworkInterface * | _iface |
| int | _interval |
| int | _tid |
| QValueList< int > | _channels |
| QValueList< int >::Iterator | _channel |
| Private * | d |
This class provides a channel hopper for radio frequencies. A channel hopper frequently changes the radio frequency channel of its associated OWirelessNetworkInterface. This is necessary when in monitoring mode and scanning for other devices, because the radio frequency hardware can only detect packets sent on the same frequency.
Definition at line 261 of file onetwork.h.
|
|
Constructor. Definition at line 379 of file onetwork.cpp. References _channel, _channels, QValueList< T >::append(), QValueList< T >::begin(), and Opie::Net::OWirelessNetworkInterface::channels(). |
|
|
Destructor. Definition at line 404 of file onetwork.cpp. |
|
|
Definition at line 415 of file onetwork.cpp. References _channel. Referenced by Opie::Net::OWirelessNetworkInterface::channel(). |
|
|
This signal is emitted right after the channel hopper performed a hop Referenced by timerEvent(). |
|
|
Definition at line 448 of file onetwork.cpp. References _interval. Referenced by Opie::Net::OWirelessNetworkInterface::channelHopping(). |
|
|
Definition at line 409 of file onetwork.cpp. References _tid. Referenced by Opie::Net::OWirelessNetworkInterface::channel(). |
|
|
Set the channel hopping interval. An interval of 0 deactivates the channel hopper. Definition at line 430 of file onetwork.cpp. References _interval, and _tid. Referenced by Opie::Net::OWirelessNetworkInterface::setChannelHopping(). |
|
|
Definition at line 421 of file onetwork.cpp. References _channel, _channels, _iface, QValueList< T >::begin(), QValueList< T >::end(), hopped(), odebug, oendl, and Opie::Net::OWirelessNetworkInterface::setChannel(). |
|
|
Definition at line 306 of file onetwork.h. Referenced by channel(), OChannelHopper(), and timerEvent(). |
|
|
Definition at line 305 of file onetwork.h. Referenced by OChannelHopper(), and timerEvent(). |
|
|
Definition at line 302 of file onetwork.h. Referenced by timerEvent(). |
|
|
Definition at line 303 of file onetwork.h. Referenced by interval(), and setInterval(). |
|
|
Definition at line 304 of file onetwork.h. Referenced by isActive(), and setInterval(). |
|
|
Definition at line 307 of file onetwork.h. |
1.4.2