ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOFWAsyncStreamListener |
Inherits from: | |
Declared In: |
get the flags of listener.
get overrun counter from the DCL program.
get the refcon specific to this listener.
Creates an AsyncStream client for an Isoch channel.
checks the notification state.
set flags for the listener.
Set the callback that should be called to handle incoming async stream packets
Turns off client callback notification.
Turns on client callback notification.
getFlags |
get the flags of listener.
public
UInt32 getFlags();
none.
flags.
getOverrunCounter |
get overrun counter from the DCL program.
public
UInt32 getOverrunCounter();
none.
returns the counter value.
getReceiver |
private
inline IOFWAsyncStreamReceiver *getReceiver();
function getReceiver abstract Returns the Async Stream receiver object which tracks multiple IOFWAsyncStreamListeners for the same Isoc channel.
getRefCon |
get the refcon specific to this listener.
public
inline void* getRefCon();
none.
fRefCon refcon passed during initialization.
initAll |
Creates an AsyncStream client for an Isoch channel.
public
bool initAll( IOFireWireController *control, UInt32 channel, FWAsyncStreamReceiveCallback proc, void *refcon );
control
Points to IOFireWireController.
channel
Isoch channel for listening.
proc
Callback on packet reception.
obj
Client's callback object.
returns true on success, else false.
invokeClients |
private
void invokeClients( UInt8 *buffer );
function invokeClients abstract Invokes client's callback function with fRefCon.
IsNotificationOn |
checks the notification state.
public
inline bool IsNotificationOn();
true if ON, else false
setFlags |
set flags for the listener.
public
void setFlags( UInt32 flags );
flags
indicate performance metrics.
none.
setListenerHandler |
Set the callback that should be called to handle incoming async stream packets
public
const FWAsyncStreamReceiveCallback setListenerHandler( FWAsyncStreamReceiveCallback inReceiver );
inReceiver
The callback to set.
Returns the callback that was previously set or nil for none.
TurnOffNotification |
Turns off client callback notification.
public
inline void TurnOffNotification();
none.
TurnOnNotification |
Turns on client callback notification.
public
inline void TurnOnNotification();
none.
ExpansionData |
protected
struct ExpansionData { };
This structure will be used to expand the capablilties of the class in the future.
reserved |
protected
ExpansionData *reserved;
Reserved for future use. (Internal use only)
|
Last Updated: 2008-12-19