Definition at line 69 of file RWebWindow.hxx.
Public Member Functions | |
WebConn ()=default | |
WebConn (unsigned connid) | |
WebConn (unsigned connid, bool headless_mode, const std::string &key) | |
WebConn (unsigned connid, unsigned wsid) | |
~WebConn () | |
Destructor for WebConn Notify special HTTP request which blocks headless browser from exit. | |
void | ResetData () |
void | ResetStamps () |
Public Attributes | |
bool | fActive {false} |
! flag indicates if connection is active | |
int | fClientCredits {0} |
! number of credits received from client | |
unsigned | fConnId {0} |
! connection id (unique inside the window) | |
std::unique_ptr< RWebDisplayHandle > | fDisplayHandle |
! handle assigned with started web display (when exists) | |
bool | fDoingSend {false} |
! true when performing send operation | |
std::map< int, std::shared_ptr< RWebWindow > > | fEmbed |
! map of embed window for that connection, key value is channel id | |
bool | fHeadlessMode {false} |
! indicate if connection represent batch job | |
std::shared_ptr< THttpCallArg > | fHold |
! request used to hold headless browser | |
std::string | fKey |
! key value supplied to the window (when exists) | |
int | fKeyUsed {0} |
! key value used to verify connection | |
std::mutex | fMutex |
! mutex must be used to protect all following data | |
std::queue< QueueItem > | fQueue |
! output queue | |
int | fReady {0} |
! 0 - not ready, 1..9 - interim, 10 - done | |
int | fRecvCount {0} |
! number of received packets, should return back with next sending | |
timestamp_t | fRecvStamp |
! last receive operation, protected with connection mutex | |
int | fSendCredits {0} |
! how many send operation can be performed without confirmation from other side | |
timestamp_t | fSendStamp |
! last server operation, always used from window thread | |
unsigned | fWSId {0} |
! websocket id | |
|
default |
|
inline |
Definition at line 89 of file RWebWindow.hxx.
|
inline |
Definition at line 90 of file RWebWindow.hxx.
|
inline |
Definition at line 91 of file RWebWindow.hxx.
RWebWindow::WebConn::~WebConn | ( | ) |
Destructor for WebConn Notify special HTTP request which blocks headless browser from exit.
Definition at line 38 of file RWebWindow.cxx.
|
inline |
Definition at line 100 of file RWebWindow.hxx.
|
inline |
Definition at line 98 of file RWebWindow.hxx.
bool ROOT::Experimental::RWebWindow::WebConn::fActive {false} |
! flag indicates if connection is active
Definition at line 77 of file RWebWindow.hxx.
int ROOT::Experimental::RWebWindow::WebConn::fClientCredits {0} |
! number of credits received from client
Definition at line 84 of file RWebWindow.hxx.
unsigned ROOT::Experimental::RWebWindow::WebConn::fConnId {0} |
! connection id (unique inside the window)
Definition at line 70 of file RWebWindow.hxx.
std::unique_ptr<RWebDisplayHandle> ROOT::Experimental::RWebWindow::WebConn::fDisplayHandle |
! handle assigned with started web display (when exists)
Definition at line 74 of file RWebWindow.hxx.
bool ROOT::Experimental::RWebWindow::WebConn::fDoingSend {false} |
! true when performing send operation
Definition at line 85 of file RWebWindow.hxx.
std::map<int,std::shared_ptr<RWebWindow> > ROOT::Experimental::RWebWindow::WebConn::fEmbed |
! map of embed window for that connection, key value is channel id
Definition at line 87 of file RWebWindow.hxx.
bool ROOT::Experimental::RWebWindow::WebConn::fHeadlessMode {false} |
! indicate if connection represent batch job
Definition at line 71 of file RWebWindow.hxx.
std::shared_ptr<THttpCallArg> ROOT::Experimental::RWebWindow::WebConn::fHold |
! request used to hold headless browser
Definition at line 75 of file RWebWindow.hxx.
std::string ROOT::Experimental::RWebWindow::WebConn::fKey |
! key value supplied to the window (when exists)
Definition at line 72 of file RWebWindow.hxx.
int ROOT::Experimental::RWebWindow::WebConn::fKeyUsed {0} |
! key value used to verify connection
Definition at line 73 of file RWebWindow.hxx.
|
mutable |
! mutex must be used to protect all following data
Definition at line 80 of file RWebWindow.hxx.
std::queue<QueueItem> ROOT::Experimental::RWebWindow::WebConn::fQueue |
! output queue
Definition at line 86 of file RWebWindow.hxx.
int ROOT::Experimental::RWebWindow::WebConn::fReady {0} |
! 0 - not ready, 1..9 - interim, 10 - done
Definition at line 79 of file RWebWindow.hxx.
int ROOT::Experimental::RWebWindow::WebConn::fRecvCount {0} |
! number of received packets, should return back with next sending
Definition at line 82 of file RWebWindow.hxx.
timestamp_t ROOT::Experimental::RWebWindow::WebConn::fRecvStamp |
! last receive operation, protected with connection mutex
Definition at line 81 of file RWebWindow.hxx.
int ROOT::Experimental::RWebWindow::WebConn::fSendCredits {0} |
! how many send operation can be performed without confirmation from other side
Definition at line 83 of file RWebWindow.hxx.
timestamp_t ROOT::Experimental::RWebWindow::WebConn::fSendStamp |
! last server operation, always used from window thread
Definition at line 76 of file RWebWindow.hxx.
unsigned ROOT::Experimental::RWebWindow::WebConn::fWSId {0} |
! websocket id
Definition at line 78 of file RWebWindow.hxx.