Contents

controllerDidOpen

Sends a notification that the interface has opened the network controller.

Declaration

virtual bool controllerDidOpen(
 IONetworkController *controller );

Parameters

  • controller:

    The controller that was opened.

Return Value

Must return true in order for handleOpen() to accept the client open. If the return is false, then the controller will be closed and the client open will fail.

Overview

This method is called by handleOpen() to notify subclasses that the controller was opened. The open on the controller occurs when the interface receives the initial open request from a client. Subclasses can override this method and inspect the controller before allowing the client open. This method is called with the arbitration lock held, hence issuing I/O to the controller must be avoided to eliminate the possibility of a deadlock.

See Also

Miscellaneous