powerStateDidChangeTo
Handles a post-change power interest notification from the network controller.
Declaration
virtual IOReturn powerStateDidChangeTo(
IOPMPowerFlagsflags,
unsigned longstateNumber,
IOService *policyMaker );Parameters
- flags:
Flags that describe the capability of the controller in the new power state.
- stateNumber:
An index to a state in the network controller's power state array that the controller has switched to.
- policyMaker:
A reference to the network controller's policy-maker, and is also the originator of this notification.
Return Value
Returns IOPMAckImplied to indicate synchronous completion.
Overview
The controllerDidChangePowerState() method is called by this handler. Subclasses are not expected to override this method.
See Also
Miscellaneous
addNetworkDataattachToDataLinkLayerclearInputQueuecontrollerDidChangePowerStatecontrollerDidOpencontrollerWillChangePowerStatecontrollerWillClosedebuggerRegistereddetachFromDataLinkLayerfeedPacketInputTapfeedPacketOutputTapflushInputQueuefreegetControllergetExtraFlagsgetFlagsgetIfnetgetInterfaceStategetInterfaceTypegetMaxTransferUnitgetMediaAddressLengthgetMediaHeaderLengthgetNamePrefixgetNetworkData(const char *)getNetworkData(const OSSymbol *)getUnitNumberhandleClientClosehandleClientOpeninitinitIfnetParamsinputEventinputPacketisPrimaryInterfaceisRegisteredlockperformCommandpowerStateWillChangeToregisterOutputHandlerremoveNetworkData(const char *)removeNetworkData(const OSSymbol *)setFlagssetInterfaceStatesetInterfaceTypesetMaxTransferUnitsetMediaAddressLengthsetMediaHeaderLengthsetUnitNumberunlock