|
| tcp_layer (const std::string &p_type, const std::string &p_param) |
| Set to true if connection shall be done when sending data. Otherwise, connection is established by the. More...
|
|
virtual | ~tcp_layer () |
| Default destructor. More...
|
|
virtual void | send_data (OCTETSTRING &data, Params ¶ms) |
| Send bytes formated data to the lower layers. More...
|
|
virtual void | receive_data (OCTETSTRING &data, Params &info) |
| Receive bytes formated data from the lower layers. More...
|
|
virtual void | message_incoming (const unsigned char *p_buffer, int p_length, int p_client_id=-1) |
| Receive bytes formated data from the lower layers. More...
|
|
| layer () |
| Type description, it indicates the protocol type (e.g. CAM, DENM, GN, ETH, PCAP...) More...
|
|
| layer (const std::string &p_type) |
| Specialized constructor Create a new instance of the layer class with its type description. More...
|
|
virtual | ~layer () |
| Default destructor. More...
|
|
void | delete_layer () |
| Delete this layer. More...
|
|
void | add_upper_layer (layer *p_layer) |
| Add a new layer in the list of the upper layer. More...
|
|
void | remove_upper_layer (layer *p_layer) |
| Remove the specified upper layer protocol from the list of the upper layer. More...
|
|
const std::string & | to_string () const |
| Remove the specified upper layer protocol from the list of the upper layer. More...
|
|
|
void | Add_Fd_Read_Handler (int fd) |
|
void | Add_Fd_Write_Handler (int fd) |
|
void | Remove_Fd_Read_Handler (int fd) |
|
void | Remove_Fd_Write_Handler (int fd) |
|
void | Remove_Fd_All_Handlers (int fd) |
|
void | Handler_Uninstall () |
|
void | Timer_Set_Handler (double call_interval, boolean is_timeout=TRUE, boolean call_anyway=TRUE, boolean is_periodic=TRUE) |
|
const char * | remote_address_name () |
|
const char * | remote_port_name () |
|
const char * | socket_debugging_name () |
|
const char * | ssl_use_ssl_name () |
|
void | client_connection_opened (int p_client_id) |
|
bool | add_user_data (int p_client_id) |
|
int | send_message_on_fd (int p_client_id, const unsigned char *message_buffer, int length_of_message) |
|
int | send_message_on_nonblocking_fd (int client_id, const unsigned char *message_buffer, int length_of_message) |
|
int | receive_message_on_fd (int p_client_id) |
|
void | peer_disconnected (int p_client_id) |
|
void | to_all_layers (std::vector< layer *> &layers, OCTETSTRING &data, Params ¶ms) |
|
void | receive_to_all_layers (OCTETSTRING &data, Params ¶ms) |
|
void | send_to_all_layers (OCTETSTRING &data, Params ¶ms) |
|
Forward declaration of TITAN class.
This class provides description of ITS raw socket port protocol layer
This class provides description of ITS TCP port protocol layer