Data Structures | Defines | Typedefs | Enumerations | Variables

Update.h File Reference

A brief file description. More...

#include "P_EventSystem.h"
#include "URL.h"
#include "HTTP.h"
Include dependency graph for Update.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  UpdateConfigParams
class  UpdateEntry
class  UpdateConfigList
class  UpdateManager
class  UpdateConfigManager
class  UpdateScheduler
class  UpdateSM
struct  dispatch_entry
struct  html_tag
class  HtmlParser
class  RecursiveHttpGet
class  ObjectReloadCont

Defines

#define UPDATE_EVENT_SUCCESS   (UPDATE_EVENT_EVENTS_START+0)
#define UPDATE_EVENT_SUCCESS_NOACTION   (UPDATE_EVENT_EVENTS_START+1)
#define UPDATE_EVENT_FAILED   (UPDATE_EVENT_EVENTS_START+2)
#define MAX_UPDATE_EVENT   UPDATE_EVENT_FAILED
#define IS_UPDATE_EVENT(_e)

Typedefs

typedef int(UpdateConfigManager::* UpdateConfigManagerContHandler )(int, void *)
typedef int(UpdateScheduler::* UpdateSchedulerContHandler )(int, void *)
typedef int(UpdateSM::* UpdateSMContHandler )(int, void *)
typedef int(RecursiveHttpGet::* RecursiveHttpGetContHandler )(int, Event *)
typedef int(ObjectReloadCont::* ObjectReloadContHandler )(int, void *)

Enumerations

enum  {
  update_successes_stat, update_no_actions_stat, update_fails_stat, update_unknown_status_stat,
  update_state_machines_stat, update_stat_count
}

Variables

RecRawStatBlockupdate_rsb
UpdateManager updateManager
struct dispatch_entry scheme_dispatch_table [UpdateSM::N_SCHEMES]
struct dispatch_entry scheme_post_dispatch_table [UpdateSM::N_SCHEMES]
ClassAllocator< ObjectReloadContObjectReloadContAllocator

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file Update.h.


Define Documentation

#define IS_UPDATE_EVENT (   _e  ) 
Value:
( ( ((_e) >= UPDATE_EVENT_EVENTS_START) && \
            ((_e) <= MAX_UPDATE_EVENT) ) ? 1 : 0 )

Definition at line 48 of file Update.h.

#define MAX_UPDATE_EVENT   UPDATE_EVENT_FAILED

Definition at line 46 of file Update.h.

#define UPDATE_EVENT_FAILED   (UPDATE_EVENT_EVENTS_START+2)
#define UPDATE_EVENT_SUCCESS   (UPDATE_EVENT_EVENTS_START+0)
#define UPDATE_EVENT_SUCCESS_NOACTION   (UPDATE_EVENT_EVENTS_START+1)

Definition at line 43 of file Update.h.

Referenced by UpdateScheduler::ScheduleEvent().


Typedef Documentation

typedef int(ObjectReloadCont::* ObjectReloadContHandler)(int, void *)

Definition at line 488 of file Update.h.

typedef int(RecursiveHttpGet::* RecursiveHttpGetContHandler)(int, Event *)

Definition at line 380 of file Update.h.

typedef int(UpdateConfigManager::* UpdateConfigManagerContHandler)(int, void *)

Definition at line 251 of file Update.h.

typedef int(UpdateScheduler::* UpdateSchedulerContHandler)(int, void *)

Definition at line 289 of file Update.h.

typedef int(UpdateSM::* UpdateSMContHandler)(int, void *)

Definition at line 321 of file Update.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
update_successes_stat 
update_no_actions_stat 
update_fails_stat 
update_unknown_status_stat 
update_state_machines_stat 
update_stat_count 

Definition at line 54 of file Update.h.


Variable Documentation

struct dispatch_entry scheme_dispatch_table[UpdateSM::N_SCHEMES]

Definition at line 1514 of file Update.cc.

Referenced by UpdateSM::HandleSMEvent().

struct dispatch_entry scheme_post_dispatch_table[UpdateSM::N_SCHEMES]

Definition at line 1518 of file Update.cc.

Referenced by UpdateSM::HandleSMEvent().

Definition at line 37 of file Update.cc.

Definition at line 698 of file Update.cc.

Referenced by main().