#pragma once

#include <QString>

#include "message_bus/pipeline/PipelineContext.h"

namespace softbus::message_bus::ingress
{

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

    virtual bool push(softbus::message_bus::pipeline::PipelineContext ctx) = 0;
    virtual void reportError(const QString& endpoint, const QString& error) = 0;
};

} // namespace softbus::message_bus::ingress
