#pragma once

#include <QString>

#include "core/models/RawBusMessage.h"

namespace softbus::message_bus::ingress
{

class IIngressPort
{
public:
    virtual ~IIngressPort() = default;

    virtual bool push(softbus::core::models::RawBusMessage ctx) = 0;
    virtual void reportError(const QString& endpoint, const QString& error) = 0;
};

} // namespace softbus::message_bus::ingress
