#pragma once #include #include namespace AK { class BufferStream; } class IMessage; class IEndpoint { public: virtual ~IEndpoint(); virtual String name() const = 0; virtual OwnPtr handle(const IMessage&) = 0; protected: IEndpoint(); private: String m_name; };