– NEW FEATURE V. 0.9.1 [Set FeeServer Properies in CE] (2007-08-17) – ///
4186 bool retVal =
false;
4187 if (state != INITIALIZING) {
4189 "Trying to change a FeeProperty during wrong FeeServer state, ignoring ...",
4192 printf(
"Trying to change a FeeProperty during wrong FeeServer state, ignoring ...\n");
4200 printf(
"Received NULL pointer in setting FeeProperty, ignoring...\n");
4207 switch (prop->flag) {
4208 case (PROPERTY_UPDATE_RATE):
4209 if (prop->uShortVal > 0) {
4213 printf(
"FeeProperty changed: new update rate (%d).\n",
4219 printf(
"Received invalid value for setting update rate (%d), ignoring...\n",
4226 case (PROPERTY_LOGWATCHDOG_TIMEOUT):
4227 if (prop->uIntVal > 0) {
4231 printf(
"FeeProperty changed: new log watchdog timeout (%d).\n",
4237 printf(
"Received invalid value for setting log watchdog timeout (%d), ignoring...\n",
4244 case (PROPERTY_ISSUE_TIMEOUT):
4245 if (prop->uLongVal > 0) {
4249 printf(
"FeeProperty changed: new issue timeout (%ld).\n",
4255 printf(
"Received invalid value for setting issue timeout (%ld), ignoring...\n",
4262 case (PROPERTY_LOGLEVEL):
4263 if ((prop->uIntVal > 0) && (prop->uIntVal <= MSG_MAX_VAL)) {
4264 logLevel = prop->uIntVal | MSG_ALARM;
4267 printf(
"FeeProperty changed: new log level (%d).\n",
logLevel);
4272 printf(
"Received invalid value for setting loglevel (%d), ignoring...\n",
4282 printf(
"Received unknown flag in setting FeeProperty (%d), ignoring...\n",
static unsigned short updateRate
void createLogMessage(unsigned int type, char *description, char *origin)
static unsigned int logWatchDogTimeout
static unsigned int logLevel
static unsigned long issueTimeout