#include <stream.h>
Inheritance diagram for MPS::InputStream:
Public Methods | |
virtual | ~InputStream () |
int | readint () |
string | readstring () |
bool | readbool () |
long long | readlong () |
char | readchar () |
string | readReference () |
float | readfloat () |
Protected Methods | |
virtual int | read ()=0 |
Definition at line 45 of file stream.h.
|
|
|
Reads a single byte out of the message body. Subclasses must override this.
Reimplemented in FastmsgInputStream, MPS::InetTransport::InetIOStream, and MPS::SimplTransport::SimplIOStream. |
|
Reads a reference to another MPS object.
|
|
Reads an encoded boolean.
|
|
Reads an encoded char.
|
|
Reads an encoded 32-bit float.
|
|
Reads an encoded 32-bit signed int.
Referenced by MPS::SimplTransport::SimplConnection::getInputStream(), MPS::InetTransport::InetConnection::getInputStream(), and MPS::InetTransport::InetDemux::processEvent(). |
|
Reads an encoded 64-bit signed long.
|
|
Reads an encoded ASCIZ byte string.
|