Ieee80211MgmtAdhoc Class Reference
#include <Ieee80211MgmtAdhoc.h>
List of all members.
Detailed Description
Used in 802.11 ad-hoc mode. See corresponding NED file for a detailed description. This implementation ignores many details.
- Author:
- Andras Varga
Member Function Documentation
virtual int Ieee80211MgmtAdhoc::numInitStages |
( |
|
) |
const [inline, protected, virtual] |
void Ieee80211MgmtAdhoc::initialize |
( |
int |
stage |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleTimer |
( |
cMessage * |
msg |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleUpperMessage |
( |
cPacket * |
msg |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleCommand |
( |
int |
msgkind, |
|
|
cPolymorphic * |
ctrl | |
|
) |
| | [protected, virtual] |
Implements abstract Ieee80211MgmtBase method -- throws an error (no commands supported)
Implements Ieee80211MgmtBase.
00043 {
00044 error("handleCommand(): no commands supported");
00045 }
Ieee80211DataFrame * Ieee80211MgmtAdhoc::encapsulate |
( |
cPacket * |
msg |
) |
[protected, virtual] |
Utility function for handleUpperMessage()
Referenced by handleUpperMessage().
00048 {
00049 Ieee80211DataFrame *frame = new Ieee80211DataFrame(msg->getName());
00050
00051
00052 Ieee802Ctrl *ctrl = check_and_cast<Ieee802Ctrl *>(msg->removeControlInfo());
00053 frame->setReceiverAddress(ctrl->getDest());
00054 delete ctrl;
00055
00056 frame->encapsulate(msg);
00057 return frame;
00058 }
void Ieee80211MgmtAdhoc::receiveChangeNotification |
( |
int |
category, |
|
|
const cPolymorphic * |
details | |
|
) |
| | [protected, virtual] |
void Ieee80211MgmtAdhoc::handleDataFrame |
( |
Ieee80211DataFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleAuthenticationFrame |
( |
Ieee80211AuthenticationFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleDeauthenticationFrame |
( |
Ieee80211DeauthenticationFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleAssociationRequestFrame |
( |
Ieee80211AssociationRequestFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleAssociationResponseFrame |
( |
Ieee80211AssociationResponseFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleReassociationRequestFrame |
( |
Ieee80211ReassociationRequestFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleReassociationResponseFrame |
( |
Ieee80211ReassociationResponseFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleDisassociationFrame |
( |
Ieee80211DisassociationFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleBeaconFrame |
( |
Ieee80211BeaconFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleProbeRequestFrame |
( |
Ieee80211ProbeRequestFrame * |
frame |
) |
[protected, virtual] |
void Ieee80211MgmtAdhoc::handleProbeResponseFrame |
( |
Ieee80211ProbeResponseFrame * |
frame |
) |
[protected, virtual] |
The documentation for this class was generated from the following files: