Public Member Functions | |
| TMCMessageStream (TMCSocket &socket) | |
| void | Send (const TMCString &message) |
| void | Receive (TMCDynamicString &message) |
Protected Attributes | |
| TMCSocket & | fSocket |
| TMCArray< int8 > | fBuffer |
| int32 | fBufferCount |
| number of characters read in the buffer | |
| int32 | fCurrentPosition |
| position in the buffer | |
Private Types | |
| enum | { kBufferSize = 256 } |
|
|
|
|
|
create a stream on a connected socket |
|
|
reads 0 terminated message |
|
|
sends 0 terminated message |
|
|
|
|
|
number of characters read in the buffer
|
|
|
position in the buffer
|
|
|
|
1.3.9.1