#ifndef ROOT_TMessage
#define ROOT_TMessage
#ifndef ROOT_TBuffer
#include "TBuffer.h"
#endif
#ifndef ROOT_MessageTypes
#include "MessageTypes.h"
#endif
class TMessage : public TBuffer {
friend class TAuthenticate;
friend class TSocket;
friend class TPSocket;
friend class TXSocket;
private:
UInt_t fWhat;
TClass *fClass;
Int_t fCompress;
char *fBufComp;
char *fBufCompCur;
char *fCompPos;
TMessage(const TMessage &);
void operator=(const TMessage &);
protected:
TMessage(void *buf, Int_t bufsize);
void SetLength() const;
public:
TMessage(UInt_t what = kMESS_ANY);
virtual ~TMessage();
void Forward();
TClass *GetClass() const { return fClass; }
void Reset();
void Reset(UInt_t what) { SetWhat(what); Reset(); }
UInt_t What() const { return fWhat; }
void SetWhat(UInt_t what);
void SetCompressionLevel(Int_t level = 1);
Int_t GetCompressionLevel() const { return fCompress; }
Int_t Compress();
Int_t Uncompress();
char *CompBuffer() const { return fBufComp; }
Int_t CompLength() const { return (Int_t)(fBufCompCur - fBufComp); }
ClassDef(TMessage,0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.