/* 1.1 ~CommunicationProtocol~ The \textit{CommunicationProtocol} defines the keywords that are used for the communication between the \textit{CommunicationClient} and the \textit{CommunicationServer}. Furthermore, also the keywords for the communication between the \textit{ReplicationClient} and the \textit{ReplicationServer} are defined by the \textit{CommunicationProtocol}. ---- This file is part of SECONDO. Copyright (C) 2017, Faculty of Mathematics and Computer Science, Database Systems for New Applications. SECONDO 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; either version 2 of the License, or (at your option) any later version. SECONDO 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 SECONDO; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ---- */ #ifndef ALGEBRAS_DBSERVICE_CommunicationProtocol_HPP_ #define ALGEBRAS_DBSERVICE_CommunicationProtocol_HPP_ #include namespace DBService { /* 1.1.1 Class Definition */ class CommunicationProtocol { public: static std::string CommunicationClient(); static std::string CommunicationServer(); static std::string DeleteReplicaRequest(); static std::string FileName(); static std::string FunctionRequest(); static std::string LocationRequest(); static std::string None(); static std::string Ping(); static std::string RelationRequest(); static std::string RelTypeRequest(); static std::string DerivedTypeRequest(); static std::string ReplicaExists(); static std::string ReplicaLocationRequest(); static std::string ReplicationCanceled(); static std::string ReplicationClient(); static std::string ReplicationClientRequest(); static std::string ReplicationDetailsRequest(); static std::string ReplicationServer(); static std::string ReplicationSuccessful(); static std::string ReplicationTriggered(); static std::string SendReplicaForStorage(); static std::string SendReplicaForUsage(); static std::string TriggerFileTransfer(); static std::string TriggerReplicaDeletion(); static std::string TriggerReplication(); static std::string StartingSignal(); static std::string TriggerDerivation(); static std::string DerivationRequest(); static std::string ObjectExists(); static std::string RelationNotExists(); static std::string DerivationTriggered(); static std::string CreateDerivation(); static std::string CreateDerivateSuccessful(); static std::string ObjectRequest(); }; } /* namespace DBService */ #endif /* ALGEBRAS_DBSERVICE_CommunicationProtocol_HPP_ */