+ /** Send an ENCAP message to one or more linked servers.
+ * See the protocol documentation for the purpose of ENCAP.
+ * @param encap This is a list of string parameters, the first of which must be a server ID or glob matching servernames.
+ * The second must be a subcommand. All subsequent parameters are dependant on the subcommand.
+ * ENCAP (should) be used instead of creating new protocol messages for easier third party application support.
+ * @return True if the message was sent out (target exists)
+ */
+ virtual bool SendEncapsulatedData(const parameterlist &encap) { return false; }
+
+ /** Send metadata for a channel to other linked servers.
+ * @param chan The channel to send metadata for
+ * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user
+ * @param data The string representation of the data
+ */
+ virtual void SendMetaData(Channel* chan, const std::string& key, const std::string& data) { }
+
+ /** Send metadata for a user to other linked servers.
+ * @param user The user to send metadata for
+ * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user
+ * @param data The string representation of the data
+ */
+ virtual void SendMetaData(User* user, const std::string& key, const std::string& data) { }
+
+ /** Send metadata related to the server to other linked servers.
+ * @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) { }
+
+ /** Send a topic change for a channel
+ * @param channel The channel to change the topic for.
+ * @param topic The new topic to use for the channel.
+ */