Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module Bonobo
interface Stream
Files: GNOME_Speech.idl
Bonobo-Stream-inheritance GNOME-Speech-InputStream.html GNOME-Speech-OutputStream.html Bonobo-Unknown.html
Typedefs Summary:
sequence<octet>iobuf

Operations Summary:
 StorageInfogetInfo(in StorageInfoFields mask) raises
 voidsetInfo(in StorageInfo info, in StorageInfoFields mask) raises
 voidread(in long count, out iobuf buffer) raises
 voidwrite(in iobuf buffer) raises
 longseek(in long offset, in SeekType whence) raises
 voidtruncate(in long length) raises
 voidcommit() raises
 voidrevert() raises
 voidunImplemented1()
 voidunImplemented2()

Operations Inherited from Unknown
ref, unref, queryInterface

Operation Details:
 StorageInfo getInfo(in StorageInfoFields mask) raises (IOError, NoPermission, NotSupported)

getInfo: @mask:

Returns a StorageInfo structure which contains the name, content_type and size info.


 void setInfo(in StorageInfo info, in StorageInfoFields mask) raises (IOError, NoPermission, NotSupported)

setInfo: @info: @mask:


 void read(in long count, out iobuf buffer) raises (NoPermission, IOError)

read: @count: number of bytes to read. @buffer: the buffer where the data is returned.


 void write(in iobuf buffer) raises (NoPermission, IOError)

write: @buffer: a buffer to write.

writes the buffer to this stream.


 long seek(in long offset, in SeekType whence) raises (IOError, NotSupported)

seek: @offset: offset @whence:

Sets the read/write pointer to @offset (relative to @whence)


 void truncate(in long length) raises (IOError, NoPermission, NotSupported)

truncate: @length: new size of the stream


 void commit() raises (IOError, NoPermission, NotSupported)

commit:

Commits any pending changes to the Storage


 void revert() raises (IOError, NoPermission, NotSupported)

revert:

Discards any changes since the last commit.