 |
Fledge
An open source edge computing platform for industrial users
|
13 #include <server_http.hpp>
16 #define DEBUG_ATTACH "^/fledge/north/debug/attach$"
17 #define DEBUG_DETACH "^/fledge/north/debug/detach$"
18 #define DEBUG_BUFFER "^/fledge/north/debug/buffer$"
19 #define DEBUG_ISOLATE "^/fledge/north/debug/isolate$"
20 #define DEBUG_SUSPEND "^/fledge/north/debug/suspend$"
21 #define DEBUG_STEP "^/fledge/north/debug/step$"
22 #define DEBUG_REPLAY "^/fledge/north/debug/replay$"
23 #define DEBUG_STATE "^/fledge/north/debug/state$"
27 typedef std::shared_ptr<SimpleWeb::Server<SimpleWeb::HTTP>::Response> Response;
28 typedef std::shared_ptr<SimpleWeb::Server<SimpleWeb::HTTP>::Request> Request;
49 SimpleWeb::Server<SimpleWeb::HTTP>
52 std::thread *m_thread;
void replayDebugger(Response response, Request request)
Invoke debugger replay on the north plugin.
Definition: north_api.cpp:535
void getDebuggerBuffer(Response response, Request request)
Invoke get debugger buffer size on the north plugin.
Definition: north_api.cpp:319
void startServer()
Called on the API service thread.
Definition: north_api.cpp:182
void stepDebugger(Response response, Request request)
Invoke set debugger step command on the north plugin.
Definition: north_api.cpp:478
unsigned short getListenerPort()
Return the port the service is listening on.
Definition: north_api.cpp:190
void isolateDebugger(Response response, Request request)
Invoke isolate debugger handler on the north plugin.
Definition: north_api.cpp:346
void stateDebugger(Response response, Request request)
Invoke debugger state on the north plugin.
Definition: north_api.cpp:565
void detachDebugger(Response response, Request request)
Invoke debugger detach on the north plugin.
Definition: north_api.cpp:234
void attachDebugger(Response response, Request request)
Invoke debugger attach on the north plugin.
Definition: north_api.cpp:205
void suspendDebugger(Response response, Request request)
Invoke suspend debugger handler on the north plugin.
Definition: north_api.cpp:412
Definition: north_api.h:30
Fledge Logger class used to log to syslog.
Definition: logger.h:42
void setDebuggerBuffer(Response response, Request request)
Invoke set debugger buffer size on the north plugin.
Definition: north_api.cpp:262
The NorthService class.
Definition: north_service.h:42
~NorthApi()
Destroy the API.
Definition: north_api.cpp:167
NorthApi(NorthService *)
North API class constructor.
Definition: north_api.cpp:140