IONetworkData.h

Overview

Use the links in the table of contents to the left to access the documentation.



Classes

IONetworkData

An object that manages a fixed-size named buffer.



Enumerated Types

NetworkDataAccessTypes

Constants that describe access types.

NetworkDataBufferTypes

The types of data buffers that can be managed by an IONetworkData object.


NetworkDataAccessTypes


Constants that describe access types.

enum { 
    kIONetworkDataAccessTypeRead = 0x01, 
    kIONetworkDataAccessTypeWrite = 0x02, 
    kIONetworkDataAccessTypeReset = 0x04, 
    kIONetworkDataAccessTypeSerialize = 0x08, 
    kIONetworkDataAccessTypeMask = 0xff 
};  
Constants


NetworkDataBufferTypes


The types of data buffers that can be managed by an IONetworkData object.

enum { 
    kIONetworkDataBufferTypeInternal = 0, 
    kIONetworkDataBufferTypeExternal, 
    kIONetworkDataBufferTypeNone 
};  
Constants
kIONetworkDataBufferTypeInternal

An internal data buffer allocated by the init() method.

kIONetworkDataBufferTypeExternal

An external (persistent) data buffer.

kIONetworkDataBufferTypeNone

No data buffer. The only useful action perfomed by an IONetworkData object with this buffer type is to call the access notification handler.

Macro Definitions

kIONetworkDataAccessTypes

A property of IONetworkData objects.

kIONetworkDataBasicAccessTypes
kIONetworkDataBytes

A property of IONetworkData objects.

kIONetworkDataSize

A property of IONetworkData objects.


kIONetworkDataAccessTypes


A property of IONetworkData objects.

#define kIONetworkDataAccessTypes "Access Types" 
Discussion

The kIONetworkDataAccessTypes property is an OSNumber that describes the supported access types of an IONetworkData object.


kIONetworkDataBasicAccessTypes


#define kIONetworkDataBasicAccessTypes \ 
    (kIONetworkDataAccessTypeRead | kIONetworkDataAccessTypeSerialize) 
Discussion

The default access types supported by an IONetworkData object. Allow read() and serialize().


kIONetworkDataBytes


A property of IONetworkData objects.

#define kIONetworkDataBytes "Data" 
Discussion

The kIONetworkDataBytes property is an OSData that describes the data buffer of an IONetworkData object. This property is present only if kIONetworkDataAccessTypeSerialize access is supported.


kIONetworkDataSize


A property of IONetworkData objects.

Discussion

The kIONetworkDataSize property is an OSNumber that describes the size of the data buffer of an IONetworkData object.

 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-10-15