Loading src/PlainServer.cpp +2 −1 Original line number Diff line number Diff line #include <PlainServer.h> #include <PlainSession.h> namespace MetadataExporter_ns { Loading src/PlainSession.cpp 0 → 100644 +33 −0 Original line number Diff line number Diff line #include <PlainSession.h> namespace MetadataExporter_ns { //============================================================================== // PlainSession::PlainSession() //============================================================================== PlainSession::PlainSession(Tango::DeviceImpl* deviceImpl_p) : Session::Session(deviceImpl_p) { DEBUG_STREAM << "PlainSession::PlainSession()" << endl; } //============================================================================== // PlainSession::~PlainSession() //============================================================================== PlainSession::~PlainSession() { DEBUG_STREAM << "PlainSession::~PlainSession()" << endl; } //============================================================================== // PlainSession::~PlainSession() //============================================================================== Session::SP PlainSession::create(Tango::DeviceImpl* deviceImpl_p) { Session::SP s_sp(new PlainSession(deviceImpl_p), PlainSession::Deleter()); return s_sp; } } //namespace No newline at end of file src/PlainSession.h 0 → 100644 +47 −0 Original line number Diff line number Diff line #ifndef PLAINSESSION_H #define PLAINSESSION_H #include <Session.h> #include <tango.h> namespace MetadataExporter_ns { class PlainSession : public Session { //------------------------------------------------------------------------------ // [Protected] Constructor destructor deleter //------------------------------------------------------------------------------ PlainSession(Tango::DeviceImpl*); virtual ~PlainSession(); class Deleter; friend Deleter; class Deleter { public: void operator()(PlainSession* d) { delete d; } }; public: //------------------------------------------------------------------------------ // [Public] Users methods //------------------------------------------------------------------------------ static Session::SP create(Tango::DeviceImpl*); protected: //------------------------------------------------------------------------------ // [Protected] Utilities methods //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ // [Protected] Class variables //------------------------------------------------------------------------------ }; } //End of namespace #endif /* PLAINSESSION_H */ src/SSLServer.cpp +2 −1 Original line number Diff line number Diff line #include <SSLServer.h> #include <SSLSession.h> namespace MetadataExporter_ns { Loading src/SSLSession.cpp 0 → 100644 +33 −0 Original line number Diff line number Diff line #include <SSLSession.h> namespace MetadataExporter_ns { //============================================================================== // SSLSession::SSLSession() //============================================================================== SSLSession::SSLSession(Tango::DeviceImpl* deviceImpl_p) : Session::Session(deviceImpl_p) { DEBUG_STREAM << "SSLSession::SSLSession()" << endl; } //============================================================================== // SSLSession::~SSLSession() //============================================================================== SSLSession::~SSLSession() { DEBUG_STREAM << "SSLSession::~SSLSession()" << endl; } //============================================================================== // SSLSession::~SSLSession() //============================================================================== Session::SP SSLSession::create(Tango::DeviceImpl* deviceImpl_p) { Session::SP s_sp(new SSLSession(deviceImpl_p), SSLSession::Deleter()); return s_sp; } } //namespace Loading
src/PlainServer.cpp +2 −1 Original line number Diff line number Diff line #include <PlainServer.h> #include <PlainSession.h> namespace MetadataExporter_ns { Loading
src/PlainSession.cpp 0 → 100644 +33 −0 Original line number Diff line number Diff line #include <PlainSession.h> namespace MetadataExporter_ns { //============================================================================== // PlainSession::PlainSession() //============================================================================== PlainSession::PlainSession(Tango::DeviceImpl* deviceImpl_p) : Session::Session(deviceImpl_p) { DEBUG_STREAM << "PlainSession::PlainSession()" << endl; } //============================================================================== // PlainSession::~PlainSession() //============================================================================== PlainSession::~PlainSession() { DEBUG_STREAM << "PlainSession::~PlainSession()" << endl; } //============================================================================== // PlainSession::~PlainSession() //============================================================================== Session::SP PlainSession::create(Tango::DeviceImpl* deviceImpl_p) { Session::SP s_sp(new PlainSession(deviceImpl_p), PlainSession::Deleter()); return s_sp; } } //namespace No newline at end of file
src/PlainSession.h 0 → 100644 +47 −0 Original line number Diff line number Diff line #ifndef PLAINSESSION_H #define PLAINSESSION_H #include <Session.h> #include <tango.h> namespace MetadataExporter_ns { class PlainSession : public Session { //------------------------------------------------------------------------------ // [Protected] Constructor destructor deleter //------------------------------------------------------------------------------ PlainSession(Tango::DeviceImpl*); virtual ~PlainSession(); class Deleter; friend Deleter; class Deleter { public: void operator()(PlainSession* d) { delete d; } }; public: //------------------------------------------------------------------------------ // [Public] Users methods //------------------------------------------------------------------------------ static Session::SP create(Tango::DeviceImpl*); protected: //------------------------------------------------------------------------------ // [Protected] Utilities methods //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ // [Protected] Class variables //------------------------------------------------------------------------------ }; } //End of namespace #endif /* PLAINSESSION_H */
src/SSLServer.cpp +2 −1 Original line number Diff line number Diff line #include <SSLServer.h> #include <SSLSession.h> namespace MetadataExporter_ns { Loading
src/SSLSession.cpp 0 → 100644 +33 −0 Original line number Diff line number Diff line #include <SSLSession.h> namespace MetadataExporter_ns { //============================================================================== // SSLSession::SSLSession() //============================================================================== SSLSession::SSLSession(Tango::DeviceImpl* deviceImpl_p) : Session::Session(deviceImpl_p) { DEBUG_STREAM << "SSLSession::SSLSession()" << endl; } //============================================================================== // SSLSession::~SSLSession() //============================================================================== SSLSession::~SSLSession() { DEBUG_STREAM << "SSLSession::~SSLSession()" << endl; } //============================================================================== // SSLSession::~SSLSession() //============================================================================== Session::SP SSLSession::create(Tango::DeviceImpl* deviceImpl_p) { Session::SP s_sp(new SSLSession(deviceImpl_p), SSLSession::Deleter()); return s_sp; } } //namespace