Logo ROOT   6.12/07
Reference Guide
THttpWSEngine.cxx
Go to the documentation of this file.
1 // $Id$
2 // Author: Sergey Linev 20/10/2017
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #include "THttpWSEngine.h"
13 
14 //////////////////////////////////////////////////////////////////////////
15 // //
16 // THttpWSEngine //
17 // //
18 // Internal instance used to exchange WS functionality between //
19 // THttpServer and THttpWSHandler. Normally should not be used directly //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 
25 
26 ////////////////////////////////////////////////////////////////////////////////
27 /// normal constructor
28 
29 THttpWSEngine::THttpWSEngine(const char *name, const char *title)
30  : TNamed(name, title)
31 {
32 }
33 
34 ////////////////////////////////////////////////////////////////////////////////
35 /// destructor
36 
38 {
39 }
40 
41 ////////////////////////////////////////////////////////////////////////////////
42 /// Envelope for sending string via the websocket
43 
44 void THttpWSEngine::SendCharStar(const char *str)
45 {
46  if (str) Send(str, strlen(str));
47 }
48 
virtual void Send(const void *buf, int len)=0
virtual void SendCharStar(const char *str)
Envelope for sending string via the websocket.
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
#define ClassImp(name)
Definition: Rtypes.h:359
virtual ~THttpWSEngine()
destructor
THttpWSEngine(const char *name, const char *title)
normal constructor
char name[80]
Definition: TGX11.cxx:109