![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |

| BREW 2.0 | BREW 2.1 | BREW 3.1 |
|---|---|---|
| O | O | O |
| Public Functions | |
|---|---|
| Void |
Cancel( Void )
Cancel a callback that was scheduled with SFBAStream::Readable().
|
| SInt32 |
Read(
VoidPtr buffer
, UInt32 count
) Read( SFXBufferPtr buffer )
Attempt to read data from a stream, and returns the number of bytes read. If no data is available for reading, it returns the value AEE_STREAM_WOULDBLOCK.
|
| Void |
Readable(
PFNNOTIFY notify
, VoidPtr data = null
)
Register a callback that checks whether data is available to be read. It is called when the SFBAStream::Read() returns AEE_STREAM_WOULDBLOCK.
|
[ public ] Void Cancel(Void);
BREW API IASTREAM_Cancel | PFNNOTIFY | SFBAStream::Read | SFBAStream::Readable
[ public ] SInt32 Read( VoidPtr buffer // pointer to the buffer into which the data is read UInt32 count // number of bytes to read );
[ public ] SInt32 Read( SFXBufferPtr buffer // pointer to the buffer into which the data is read. // when null, it returns the value AEE_STREAM_WOULDBLOCK );
BREW API IASTREAM_Read | SFBAStream::Readable | SFBAStream::Cancel
[ public ] Void Readable( PFNNOTIFY notify // pointer to the callback function VoidPtr data = null // pointer to user-specified data that is passed as a parameter to the callback function );
BREW API IASTREAM_Readable | SFBAStream::Read | SFBAStream::Cancel
|
Copyright (C) 2002 - 2009 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|