|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::net::srfsys::FilterObjectReader Class Reference#include <ObjectLogReader.h>
Inheritance diagram for acdk::net::srfsys::FilterObjectReader:
List of all members.
Detailed Description
### move this class to acdk::io
Constructor & Destructor Documentation
Member Function Documentation
virtual int acdk::net::srfsys::FilterObjectReader::available |
( |
|
) |
[inline, virtual] |
|
|
returns the number of bytes available in this stream before blocking Some Reader always return 0
Reimplemented from acdk::io::Reader. |
virtual void acdk::net::srfsys::FilterObjectReader::close |
( |
|
) |
[inline, virtual] |
|
|
closes this Reader.
Note: Some Reader must be closed explicitaly Note: Reader implementation must be avare from closing a reader more than one
Reimplemented from acdk::io::Reader. |
virtual void acdk::net::srfsys::FilterObjectReader::defaultReadObject |
( |
IN(RClass) |
cls, |
|
|
IN(acdk::lang::Object) |
obj |
|
) |
[inline, virtual] |
|
|
default method for reading objects data only fields of current class are read.
Implements acdk::io::ObjectReader. |
virtual RStorage acdk::net::srfsys::FilterObjectReader::getStorage |
( |
|
) |
[inline, virtual] |
|
virtual RReader acdk::net::srfsys::FilterObjectReader::getStorageReader |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::net::srfsys::FilterObjectReader::mark |
( |
int |
readAheadLimit |
) |
[inline, virtual] |
|
virtual bool acdk::net::srfsys::FilterObjectReader::markSupported |
( |
|
) |
[inline, virtual] |
|
virtual int acdk::net::srfsys::FilterObjectReader::read |
( |
byte * |
buffer, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[inline, virtual] |
|
virtual int acdk::net::srfsys::FilterObjectReader::read |
( |
IN(RbyteArray) |
buffer, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[inline, virtual] |
|
|
read the len bytes into buffer at offset of the buffer
- Parameters:
-
buffer | where to write the bytes |
offset | offset to write into buffer |
len | how many bytes to read. if == -1 read into many bytes, that fits into buffer (buffer->length() - offset) `` |
- Returns:
- number of bytes readed. may less than input if EOS is reached
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::Reader. |
virtual int acdk::net::srfsys::FilterObjectReader::read |
( |
|
) |
[inline, virtual] |
|
|
read a single byte from stream
- Returns:
- the byte readed or -1 if EOS.
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::Reader. |
virtual bool acdk::net::srfsys::FilterObjectReader::readBoolean |
( |
|
) |
[inline, virtual] |
|
virtual char acdk::net::srfsys::FilterObjectReader::readChar |
( |
|
) |
[inline, virtual] |
|
virtual RClass acdk::net::srfsys::FilterObjectReader::readClassDescriptor |
( |
IN(RClass) |
cls |
) |
[inline, virtual] |
|
virtual double acdk::net::srfsys::FilterObjectReader::readDouble |
( |
|
) |
[inline, virtual] |
|
virtual float acdk::net::srfsys::FilterObjectReader::readFloat |
( |
|
) |
[inline, virtual] |
|
virtual int acdk::net::srfsys::FilterObjectReader::readInt |
( |
|
) |
[inline, virtual] |
|
virtual jlong acdk::net::srfsys::FilterObjectReader::readLong |
( |
|
) |
[inline, virtual] |
|
virtual acdk::lang::Object acdk::net::srfsys::FilterObjectReader::readObject |
( |
|
) |
[inline, virtual] |
|
virtual acdk::lang::dmi::ScriptVar acdk::net::srfsys::FilterObjectReader::readScriptVar |
( |
bool |
withTypeInfo = true, |
|
|
bool |
withFlags = true |
|
) |
[inline, virtual] |
|
|
- Parameters:
-
withTypeInfo | the the is encoded in the stream |
withFlags | writes also the flags |
Reimplemented from acdk::io::ObjectReader. |
virtual short acdk::net::srfsys::FilterObjectReader::readShort |
( |
|
) |
[inline, virtual] |
|
virtual RString acdk::net::srfsys::FilterObjectReader::readString |
( |
|
) |
[inline, virtual] |
|
virtual uc2char acdk::net::srfsys::FilterObjectReader::readUcChar |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::net::srfsys::FilterObjectReader::reset |
( |
|
) |
[inline, virtual] |
|
|
if mark is set, set stream to mark point otherwise to begin of this stream.
Implements acdk::io::ObjectReader. |
virtual jlong acdk::net::srfsys::FilterObjectReader::seek |
( |
SeekPos |
seekrel, |
|
|
jlong |
seekpos |
|
) |
[inline, virtual] |
|
virtual void acdk::net::srfsys::FilterObjectReader::setIn |
( |
IN(RReader) |
reader |
) |
[inline, virtual] |
|
virtual jlong acdk::net::srfsys::FilterObjectReader::skip |
( |
jlong |
n |
) |
[inline, virtual] |
|
|
Move forwart into the stream.
- Returns:
- how many bytes skipped. May less then input, in case EOS is reached
Implements acdk::io::ObjectReader. |
Member Data Documentation
|
|