//------------------------------------------------------------------------------ // Author: Andrey Kuznetsov // Description: Represents NFS v4 commands // Copyright (c) 2015 EPAM Systems //------------------------------------------------------------------------------ /* This file is part of Nfstrace. Nfstrace is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License. Nfstrace is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Nfstrace. If not, see . */ //------------------------------------------------------------------------------ #ifndef NFSV4COMMANDS_H #define NFSV4COMMANDS_H //------------------------------------------------------------------------------ #include "commandrepresenter.h" //------------------------------------------------------------------------------ namespace NST { namespace breakdown { /*! * Represents NFS v 4.0 commands * Converts commands to string */ class NFSv4Commands : public CommandRepresenter { public: const char* command_description(int cmd_code) override final; const char* command_name(int cmd_code) override final; size_t commands_count() override final; const char* protocol_name() override final; }; } // namespace breakdown } // namespace NST //------------------------------------------------------------------------------ #endif //NFSV4COMMANDS_H //------------------------------------------------------------------------------