4 #ifndef ROOT_THttpEngine
5 #define ROOT_THttpEngine
70 virtual void Send(
const void* buf,
int len) = 0;
THttpServer * GetServer() const
virtual void Process()
Method regularly called in main ROOT context.
virtual void ProcessData(THttpCallArg *arg)
process data received from the client
virtual void Send(const void *buf, int len)=0
void SetServer(THttpServer *serv)
virtual void AssignCanvas(TCanvas *canv)
assign canvas to the web socket connects with CanvasModified signal
virtual ~THttpEngine()
destructor
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
THttpEngine(const char *name, const char *title)
object server
Bool_t fGetMenu
true when canvas was modified
virtual Bool_t Create(const char *)
Method to create all components of engine.
void CheckModifiedFlag()
canvas associated with websocket
TCanvas * fCanv
true when menu was requested
virtual void CanvasModified()
react on canvas modifications
virtual ~THttpWSEngine()
destructor
THttpWSEngine(const char *name, const char *title)
normal constructor
Bool_t fModified
indicate if websocket get ready flag to send bigger amount of data
virtual void ClearHandle()=0