diff --git a/include/Swiften/Server/ServerStanzaRouter.h b/include/Swiften/Server/ServerStanzaRouter.h new file mode 100644 index 0000000000000000000000000000000000000000..4a9493be39e0f1ea0bdad7df489bf12def5af67e --- /dev/null +++ b/include/Swiften/Server/ServerStanzaRouter.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2010 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include +#include + +#include +#include + +namespace Swift { + class ServerSession; + + class ServerStanzaRouter { + public: + ServerStanzaRouter(); + + bool routeStanza(boost::shared_ptr); + + void addClientSession(ServerSession*); + void removeClientSession(ServerSession*); + + private: + std::vector clientSessions_; + }; +}