projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated license
[anna.git]
/
include
/
anna
/
app
/
Application.hpp
diff --git
a/include/anna/app/Application.hpp
b/include/anna/app/Application.hpp
index
c34c46a
..
77684fd
100644
(file)
--- a/
include/anna/app/Application.hpp
+++ b/
include/anna/app/Application.hpp
@@
-1,4
+1,4
@@
-// ANNA - Anna is Not
'N'
Anymore
+// ANNA - Anna is Not
Nothingness
Anymore
//
// (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
//
//
// (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
//
@@
-231,11
+231,15
@@
protected:
virtual void run() throw(RuntimeException) = 0;
/**
virtual void run() throw(RuntimeException) = 0;
/**
- Metodo manejador que podemos re-escribir para tratar la recepcion de la senhal USR1.
- Por defecto
+ Handler for SIGUSR1. Application context written by default.
*/
virtual void signalUSR1() throw(RuntimeException);
*/
virtual void signalUSR1() throw(RuntimeException);
+ /**
+ Handler for SIGUSR2. Nothing done by default.
+ */
+ virtual void signalUSR2() throw(RuntimeException);
+
/**
Metodo manejador que podemos re-escribir para tratar la recepcion de la senhal SIGTERM.
*/
/**
Metodo manejador que podemos re-escribir para tratar la recepcion de la senhal SIGTERM.
*/
@@
-316,7
+320,8
@@
private:
void stopComponents() throw(RuntimeException);
void sendSignalToChilds(const int signal) throw();
void stopComponents() throw(RuntimeException);
void sendSignalToChilds(const int signal) throw();
- static void handlerSignalUSR1(int) throw();
+ void signalUSR(int) throw(RuntimeException);
+ static void handlerSignalUSR(int) throw();
static void handlerSignalTerminate(int) throw();
static void handlerChildTerminate(int sig) throw();
static void handlerSignalTerminate(int) throw();
static void handlerChildTerminate(int sig) throw();