Add API allowing xAPPs to send alarm messages
[ric-plt/xapp-frame-cpp.git] / src / xapp / xapp.hpp
index a3d5e97..a00a1dc 100644 (file)
 #include "callback.hpp"
 #include "messenger.hpp"
 
-class Xapp : public Messenger {
+class Xapp : public xapp::Messenger {
 
        private:
                std::string name;
 
+               // copy and assignment are PRIVATE because we cant "clone" the listen environment
+               Xapp( const Xapp& soi );
+               Xapp& operator=( const Xapp& soi );
+
        public:
-               Xapp( char* listen_port, bool wait4rt );        // builder
+               Xapp( const char* listen_port, bool wait4rt );  // builder
                Xapp( );
                ~Xapp();                                                                        // destroyer