Project
Loading...
Searching...
No Matches
DPLWebSocket.cxx File Reference
#include "Framework/Logger.h"
#include "DPLWebSocket.h"
#include "Framework/GuiCallbackContext.h"
#include "Framework/RuntimeError.h"
#include "Framework/DeviceSpec.h"
#include "Framework/DeviceController.h"
#include "Framework/DevicesManager.h"
#include "DriverServerContext.h"
#include "DriverClientContext.h"
#include "ControlWebSocketHandler.h"
#include "HTTPParser.h"
#include <algorithm>
#include <atomic>
#include <uv.h>
#include <sys/types.h>
#include <unistd.h>
#include <memory>

Go to the source code of this file.

Classes

struct  o2::framework::GUIWebSocketHandler
 An handler for a websocket message stream. More...
 
struct  o2::framework::WriteRequestContext
 
struct  o2::framework::BulkWriteRequestContext
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::framework
 Defining PrimaryVertex explicitly as messageable.
 

Enumerations

enum struct  o2::framework::GUIOpcodes : uint8_t {
  o2::framework::Mousepos = 1 , o2::framework::Mouseclick = 2 , o2::framework::Mousewheel = 3 , o2::framework::Window = 4 ,
  o2::framework::Latency = 5 , o2::framework::Keydown = 6 , o2::framework::Keyup = 7 , o2::framework::Charin = 8
}
 

Functions

void o2::framework::websocket_server_close_callback (uv_handle_t *handle)
 Free any resource associated with the device - driver channel.
 
void o2::framework::ws_error_write_callback (uv_write_t *h, int status)
 
void o2::framework::websocket_server_callback (uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
 Actually replies to any incoming websocket stuff.
 
void o2::framework::ws_handshake_done_callback (uv_write_t *h, int status)
 
void o2::framework::populateHeader (std::map< std::string, std::string > &headers, std::string_view const &k, std::string_view const &v)
 
void o2::framework::remoteGuiCallback (uv_timer_s *ctx)
 
void o2::framework::ws_server_write_callback (uv_write_t *h, int status)
 
void o2::framework::ws_server_bulk_write_callback (uv_write_t *h, int status)
 
void o2::framework::close_client_websocket (uv_handle_t *stream)
 
void o2::framework::websocket_client_callback (uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
 
void o2::framework::ws_client_write_callback (uv_write_t *h, int status)
 
void o2::framework::ws_client_bulk_write_callback (uv_write_t *h, int status)