summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h
index bffc4a5e9..b077a4f47 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -26,9 +26,21 @@ class User;
typedef std::vector<std::string> parameterlist;
+class ProtocolServer
+{
+ public:
+ /** Send metadata related to this server to the target server
+ * @param key The 'key' of the data
+ * @param data The string representation of the data
+ */
+ virtual void SendMetaData(const std::string& key, const std::string& data) = 0;
+};
+
class CoreExport ProtocolInterface
{
public:
+ typedef ProtocolServer Server;
+
class ServerInfo
{
public: