|
Qore DebugHandler Module Reference
0.1
|
this class represents a connection to a debug server via websocket client More...

Public Member Functions | |
| connectionClosed () | |
| this method is called by the WebSocketHandler when the connection is closed More... | |
| constructor (WebSocketDebugHandler n_handler, hash n_cx) | |
| the constructor is called by the WebSocketHandler when a new connection is made by a websocket client; it is called from WebSocketHandler::getConnectionImpl(), which can be overridden in subclasses to allow a subclass of this class to be used as the connection object | |
| gotMessage (string msg) | |
| this method is called by the WebSocketHandler when message from the client is received | |
| registered () | |
| send welcome message to identify itself | |
Private Attributes | |
| hash | cx |
| websocket context, cx.id is used for sending messages to particular client | |
this class represents a connection to a debug server via websocket client
Unsolicited messages are sent to client asynchronously when an event occurs in the program being debugged.
| DebugHandler::WebSocketDebugConnection::connectionClosed | ( | ) |
this method is called by the WebSocketHandler when the connection is closed
the implementation in this class is empty; implement this method in a subclass to provide custom behavior