OpenOCD
|
Data Fields | |
int(* | connection_closed_handler )(struct connection *connection) |
callback to tear down the connection More... | |
int(* | input_handler )(struct connection *connection) |
callback to handle incoming data More... | |
void(* | keep_client_alive_handler )(struct connection *connection) |
called periodically to send keep-alive messages on the connection More... | |
const char * | name |
the name of the server More... | |
int(* | new_connection_during_keep_alive_handler )(struct connection *connection) |
optional minimal setup to accept a connection during keep-alive More... | |
int(* | new_connection_handler )(struct connection *connection) |
complete code to accept a new connection. More... | |
int(* service_driver::connection_closed_handler) (struct connection *connection) |
callback to tear down the connection
Definition at line 62 of file server.h.
Referenced by add_service().
int(* service_driver::input_handler) (struct connection *connection) |
callback to handle incoming data
Definition at line 60 of file server.h.
Referenced by add_service().
void(* service_driver::keep_client_alive_handler) (struct connection *connection) |
called periodically to send keep-alive messages on the connection
Definition at line 64 of file server.h.
Referenced by add_service().
const char* service_driver::name |
int(* service_driver::new_connection_during_keep_alive_handler) (struct connection *connection) |
optional minimal setup to accept a connection during keep-alive
Definition at line 51 of file server.h.
Referenced by add_service().
int(* service_driver::new_connection_handler) (struct connection *connection) |
complete code to accept a new connection.
If 'new_connection_during_keep_alive_handler' above is present, this can be either called alone during the server_loop, or after the function above. Check the implementation in gdb_server.
Definition at line 58 of file server.h.
Referenced by add_service().