ot_lib::utilityTCP Class Reference
#include <ot_lib.h>
List of all members.
|
Static Public Member Functions |
| static ost::TCPStream * | connectTo (const string &hostName, int port) |
| static void | write (ost::TCPStream *s, const stringstream &str, bool flush=true) |
| static void | write (ost::TCPStream *s, const ot_obj &o) |
| static string | readString (ost::TCPStream *s, int maxLen) |
| static int | readInt (ost::TCPStream *s) |
| static void | readData (ost::TCPStream *s, stringstream &str, int len) |
Member Function Documentation
| static ost::TCPStream* ot_lib::utilityTCP::connectTo |
( |
const string & |
hostName, |
|
|
int |
port | |
|
) |
| | [static] |
| static void ot_lib::utilityTCP::write |
( |
ost::TCPStream * |
s, |
|
|
const stringstream & |
str, |
|
|
bool |
flush = true | |
|
) |
| | [static] |
| static void ot_lib::utilityTCP::write |
( |
ost::TCPStream * |
s, |
|
|
const ot_obj & |
o | |
|
) |
| | [static] |
| static string ot_lib::utilityTCP::readString |
( |
ost::TCPStream * |
s, |
|
|
int |
maxLen | |
|
) |
| | [static] |
| static int ot_lib::utilityTCP::readInt |
( |
ost::TCPStream * |
s |
) |
[static] |
| static void ot_lib::utilityTCP::readData |
( |
ost::TCPStream * |
s, |
|
|
stringstream & |
str, |
|
|
int |
len | |
|
) |
| | [static] |
The documentation for this class was generated from the following file:
- /mnt/USB_DISK/BUILD/prj_sf/otlib/trunk/include/ot_lib.h