Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
28c4dbda
Commit
28c4dbda
authored
May 11, 2016
by
Axel Auweter
Browse files
Add GPL headers to CollectAgent.
parent
070abe0b
Changes
7
Hide whitespace changes
Inline
Side-by-side
CollectAgent/collectagent.cpp
View file @
28c4dbda
//============================================================================
// Name :
C
ollect
A
gent.cpp
//============================================================================
====
// Name :
c
ollect
a
gent.cpp
// Author : Axel Auweter
// Version :
// Copyright : Leibniz Supercomputing Centre
// Description : Main code of the CollectAgent
//============================================================================
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program 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.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<cstdlib>
#include
<signal.h>
...
...
CollectAgent/simplemqttserver.cpp
View file @
28c4dbda
/*
* simplemqttserver.cpp
*
* Created on: Apr 5, 2013
* Author: Axel Auweter
*/
//================================================================================
// Name : simplemqttserver.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Implementation of a simple MQTT message server
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program 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.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
"simplemqttserver.h"
...
...
CollectAgent/simplemqttserver.h
View file @
28c4dbda
/*
* simplemqttserver.h
*
* Created on: Apr 5, 2013
* Author: Axel Auweter
*/
//================================================================================
// Name : simplemqttserver.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Header for the implementation of a simple MQTT message server
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program 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.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
<stdint.h>
#include
<pthread.h>
...
...
CollectAgent/simplemqttservermessage.cpp
View file @
28c4dbda
/*
* simplemqttservermessage.cpp
*
* Created on: May 26, 2013
* Author: Axel Auweter
*/
//================================================================================
// Name : simplemqttservermessage.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Implementation of a class for receiving a simple MQTT message
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program 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.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
"simplemqttserver.h"
...
...
CollectAgent/simplemqttservermessage.h
View file @
28c4dbda
/*
* simplemqttservermessage.h
*
* Created on: May 3, 2013
* Author: Axel Auweter
*/
//================================================================================
// Name : simplemqttservermessage.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Headers of a class for receiving a simple MQTT message
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program 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.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#ifndef SIMPLEMQTTMESSAGE_H_
#define SIMPLEMQTTMESSAGE_H_
...
...
CollectAgent/simplemqttserverthread.cpp
View file @
28c4dbda
/*
* simplemqttserverthread.cpp
*
* Created on: May 3, 2013
* Author: Axel Auweter
*/
//================================================================================
// Name : simplemqttserverthread.cpp
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Implementation of classes for running MQTT server threads
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program 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.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#include
"simplemqttserver.h"
#include
"abrt.h"
...
...
CollectAgent/simplemqttserverthread.h
View file @
28c4dbda
/*
* simplemqttserverthread.h
*
* Created on: May 3, 2013
* Author: Axel Auweter
*/
//================================================================================
// Name : simplemqttserverthread.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Headers of classes for running MQTT server threads
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This program 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.
//
// This program 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 this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//================================================================================
#ifndef SIMPLEMQTTSERVERTHREAD_H_
#define SIMPLEMQTTSERVERTHREAD_H_
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment