Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-21 | LibCore: Convert CLocalSocket to ObjectPtr | Andreas Kling | |
2019-09-11 | Inspector+LibCore+rpcdump: Rework the RPC stuff to be request/response | Andreas Kling | |
RPC clients now send JSON-encoded requests to the RPC server. The connection also stays alive instead of disconnecting automatically after the initial CObject graph dump. JSON payloads are preceded by a single host-order encoded 32-bit int containing the length of the payload. So far, we have three RPC commands: - Identify - GetAllObjects - Disconnect We'll be adding more of these as we go along. :^) | |||
2019-09-11 | rpcdump: Don't call CSocket::connect() before setting up hooks | Andreas Kling | |
2019-08-17 | LibCore+rpcdump: Publish CObject graph to on-demand RPC socket | Andreas Kling | |
All programs that have a CEventLoop now allow local socket connections via /tmp/rpc.PID and will dump a serialized JSON array of all the live CObjects in the program onto connecting sockets. Also added a small /bin/rpcdump tool that connects to an RPC socket and produces a raw dump of the JSON that comes out. |