hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::sphinx::IndexDisconnect Class Reference

#include <SphinxAdminCommand.hpp>

Inheritance diagram for HCE::sphinx::IndexDisconnect:
Collaboration diagram for HCE::sphinx::IndexDisconnect:

Public Types

typedef SphinxAdminCommand inherited

Public Member Functions

 IndexDisconnect (SphinxFunctionalObject &fObj)
virtual ~IndexDisconnect (void)
bool serialize (std::string &json)
bool unserialize (const std::string &json)
bool execute (void)
- Public Member Functions inherited from HCE::sphinx::SphinxAdminCommand
 SphinxAdminCommand (SphinxFunctionalObject &fObj_)
virtual ~SphinxAdminCommand (void)
void setResultData (const std::string &resultData_)
std::string getResultData (void) const
- Public Member Functions inherited from HCE::IJsonSerializable
 IJsonSerializable (void)
virtual ~IJsonSerializable (void)
void setErrorMsg (const std::string &errorMsg_)
std::string getErrorMsg (void) const
void setErrorCode (unsigned int errorCode_)
unsigned int getErrorCode (void) const
void setIsError (bool isError_)
bool isError (void) const
void resetError (void)

Additional Inherited Members

- Protected Types inherited from HCE::sphinx::SphinxAdminCommand
typedef IJsonSerializable inherited
- Protected Member Functions inherited from HCE::sphinx::SphinxAdminCommand
bool makeDir (const std::string &path)
bool cleanDir (const std::string &path)
bool isExistDir (const std::string &path)
bool isExistFile (const std::string &file)
bool isAllowedString (const std::string &str)
bool copyFile (const std::string &srcFile, const std::string &dstFile)
bool moveFile (const std::string &srcFile, const std::string &dstFile)
bool removeFile (const std::string &file)
bool moveIndexFiles (const std::string &indexFileName, const std::string &srcPath, const std::string &dstPath)
bool copyIndexFiles (const std::string &indexFileName, const std::string &srcPath, const std::string &dstPath)
bool removeIndexFile (const std::string &indexFileName, const std::string &path)
bool getFileList (const std::string &path, std::vector< std::string > &vFiles, const std::string &ext)
bool getIndexList (const std::string &path, std::vector< std::string > &vIndexes)
bool getFreeAllowedPort (unsigned int &res)
bool makeTrunkConfig (const std::string &trunkName, const std::string &indexName, const std::string &indexFileName, SphinxConfigOptions &configOptions)
bool isExistError (const std::string &shellExecMsg)
std::string getPropertyFileName (const std::string &indexPath, const std::string &branchName)
std::string getConfigFileName (const std::string &indexPath, const std::string &branchName)
void writePropertyOptions (SphinxConfigCreator &configCreator, const SphinxConfigOptions &configOptions)
- Protected Attributes inherited from HCE::sphinx::SphinxAdminCommand
SphinxFunctionalObjectfObj
std::string resultData
CustomMessagemessage

Detailed Description

Definition at line 589 of file SphinxAdminCommand.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

HCE::sphinx::IndexDisconnect::IndexDisconnect ( SphinxFunctionalObject fObj)
explicit

Definition at line 3675 of file SphinxAdminCommand.cpp.

virtual HCE::sphinx::IndexDisconnect::~IndexDisconnect ( void  )
inlinevirtual

Definition at line 593 of file SphinxAdminCommand.hpp.

Member Function Documentation

bool HCE::sphinx::IndexDisconnect::execute ( void  )
virtual

Implements HCE::sphinx::SphinxAdminCommand.

Definition at line 3722 of file SphinxAdminCommand.cpp.

Here is the call graph for this function:

bool HCE::sphinx::IndexDisconnect::serialize ( std::string &  json)
virtual

Implements HCE::IJsonSerializable.

Definition at line 3680 of file SphinxAdminCommand.cpp.

Here is the caller graph for this function:

bool HCE::sphinx::IndexDisconnect::unserialize ( const std::string &  json)
virtual

Implements HCE::IJsonSerializable.

Definition at line 3702 of file SphinxAdminCommand.cpp.


The documentation for this class was generated from the following files: