27 lines
783 B
C++
27 lines
783 B
C++
#include <spdlog/spdlog.h>
|
|
#include "./event.hpp"
|
|
#include "../../protocol/transform/facade.hpp"
|
|
|
|
namespace lsp::provider::telemetry
|
|
{
|
|
std::string Event::GetMethod() const
|
|
{
|
|
return "telemetry/event";
|
|
}
|
|
|
|
std::string Event::GetProviderName() const
|
|
{
|
|
return "TelemetryEvent";
|
|
}
|
|
|
|
void Event::HandleNotification(const protocol::NotificationMessage& notification, [[maybe_unused]] ExecutionContext& context)
|
|
{
|
|
spdlog::debug("TelemetryEventProvider: Handling notification for method {}", notification.method);
|
|
|
|
// TODO: Implement the actual notification handling logic
|
|
// 1. Parse notification parameters
|
|
// 2. Update appropriate services/state
|
|
// 3. Trigger any necessary side effects
|
|
}
|
|
}
|