import "Accessibility_StreamableContent.idl";
Data Structures | |
exception | IOError |
exception | NoPermission |
exception | NotSupported |
Public Types | |
enum | SeekType { SEEK_SET, SEEK_CURRENT, SEEK_END } |
typedef sequence< octet > | iobuf |
Public Member Functions | |
long | seek (in long offset, in SeekType whence) raises (NoPermission, IOError, NotSupported) |
long | read (in long count, out iobuf buffer) raises (NoPermission, IOError) |
void | close () |
void | unimplemented () |
void | unimplemented2 () |
typedef sequence<octet> Accessibility::ContentStream::iobuf |
Specifies the meaning of a seek 'offset'. Not all SeekTypes are supported by all StreamableContent data sources, for instance some streams may not support seeking from the beginning or other types of 'backwards' seeks.
void Accessibility::ContentStream::close | ( | ) |
close the stream and release associated resources. A client should not perform further operations on a StreamableContent::Stream object after closing it.
long Accessibility::ContentStream::read | ( | in long | count, | |
out iobuf | buffer | |||
) | raises (NoPermission, IOError) |
Request/read a specified amount of data from a Stream.
long Accessibility::ContentStream::seek | ( | in long | offset, | |
in SeekType | whence | |||
) | raises (NoPermission, IOError, NotSupported) |
Seek to a specified position in the Stream.
offset | an offset specifying the requested position in the stream, relative to the SeekType specified in whence . | |
whence | a SeekType specifying the reference point from which the seek offset is calculated. Some forms of seek are not supported by certain implementations of Stream, in which case a NotSupported exception will be raised. |
void Accessibility::ContentStream::unimplemented | ( | ) |
/cond
void Accessibility::ContentStream::unimplemented2 | ( | ) |