ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | Friends | List of all members
ocpp::ConnectionData Struct Reference

Current connection data, sets the internal state of the. More...

Public Member Functions

 ConnectionData (WebsocketLibwebsockets *owner)
 
void bind_thread_client (std::thread::id id)
 
void bind_thread_message (std::thread::id id)
 
std::thread::id get_client_thread_id ()
 
std::thread::id get_message_thread_id ()
 
void update_state (EConnectionState in_state)
 
EConnectionState get_state ()
 
void request_awake ()
 Requests an active connection to awake from 'poll' and process again.
 
void do_interrupt_and_exit ()
 Requests the threads that are processing to exit as soon as possible in a ordered manner.
 
bool is_interupted ()
 
void mark_stop_executed ()
 
bool is_stop_executed ()
 
void reset_connection_data ()
 This should be used for a cleanup before calling the init functions because releasing the unique ptrs has as an effect the invocation of 'callback_minimal' during '::lws_context_destroy(ptr);' and that causes a deadlock.
 
void init_connection_context (lws_context *lws_ctx, SSL_CTX *ssl_ctx)
 
void init_connection (lws *lws)
 
lws * get_conn ()
 
lws_context * get_context ()
 
WebsocketLibwebsocketsget_owner ()
 

Friends

class WebsocketLibwebsockets
 

Detailed Description

Current connection data, sets the internal state of the.


The documentation for this struct was generated from the following file: