|
ESA JPIP server
0.1
|
Class derived from the STL std::streambuf to allow streaming with sockets.
More...
#include <socket_stream.h>
Public Types | |
| enum | { INPUT_BUFFER_LENGTH = 500, OUTPUT_BUFFER_LENGTH = 500 } |
Public Member Functions | |
| SocketBuffer (int sid, int in_len=INPUT_BUFFER_LENGTH, int out_len=OUTPUT_BUFFER_LENGTH) | |
| virtual int | sync () |
| virtual int_type | underflow () |
| virtual int_type | overflow (int_type c=EOF) |
| int | GetReadBytes () const |
| Socket * | GetSocket () |
| virtual | ~SocketBuffer () |
Protected Attributes | |
| int | sum |
| int | in_len |
| int | out_len |
| char * | in_buf |
| char * | out_buf |
| Socket | socket |
Class derived from the STL std::streambuf to allow streaming with sockets.
See the documentation related to this STL base class to understand the behaviour of the class SocketBuffer.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |