Beginning parser work.
This commit is contained in:
1 parent
1542fbe218
commit
d54aec1f06
8 files changed
+105
No files matched your search
@@ -0,0 +1,28 @@
|
||||
#ifndef __StreamReader_h__
|
||||
#define __StreamReader_h__
|
||||
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
|
||||
namespace coreutils {
|
||||
|
||||
///
|
||||
/// Use the StreamReader to read data from a socket and buffer it for use by
|
||||
/// various stream parsers such as IMFMessage. The reader maintains data
|
||||
/// consistency regardless of the packet delivery for the stream.
|
||||
///
|
||||
|
||||
class StreamReader {
|
||||
|
||||
public:
|
||||
StreamReader(int fd);
|
||||
virtual ~StreamReader();
|
||||
|
||||
private:
|
||||
vector<MString> buffer;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user