#ifndef __NETWORK_SUBSYSTEM__H__ #define __NETWORK_SUBSYSTEM__H__ /* ******************************************************************************* * INCLUDE ******************************************************************************* */ #include "Poco/Util/Application.h" #include "util/Subsystem.h" namespace Network { /* ******************************************************************************* * CLASS DECLARE ******************************************************************************* */ class NetworkSubsystem: public Util::Subsystem { public: NetworkSubsystem(); ~NetworkSubsystem(); virtual const char* name() const override; protected: virtual void initialize(Poco::Util::Application& app); virtual void uninitialize(); public: struct ZLStreamPushMessage { std::string appname; std::string streamid; short type; ZLStreamPushMessage(const std::string& appname, const std::string& streamid, short type) : appname(appname), streamid(streamid), type(type) { } }; Poco::BasicEvent ZLStreamPushMessageEvent; private: }; } #endif