#include <ICP.h>

| Public Member Functions | |
| ICPConfiguration () | |
| ~ICPConfiguration () | |
| int | GlobalConfigChange () | 
| void | UpdateGlobalConfig () | 
| int | PeerConfigChange () | 
| void | UpdatePeerConfig () | 
| ICPConfigData * | globalConfig () | 
| PeerConfigData * | indexToPeerConfigData (int index) | 
| int | Lock () | 
| void | Unlock () | 
| int | HaveLock () | 
| int | ICPConfigCallouts () | 
| Static Public Member Functions | |
| static int | mgr_icp_config_change_callback (const char *, RecDataT, RecData, void *) | 
| static void * | icp_config_change_callback (void *, void *, int startup=0) | 
Definition at line 422 of file ICP.h.
| ICPConfiguration::ICPConfiguration | ( | ) | 
Definition at line 378 of file ICPConfig.cc.
References icp_config_change_callback(), ICP_EstablishStaticConfigInteger, ICP_EstablishStaticConfigStringAlloc, ICP_ReadConfigString, ICP_RegisterConfigUpdateFunc, mgr_icp_config_change_callback(), UpdateGlobalConfig(), and UpdatePeerConfig().
| ICPConfiguration::~ICPConfiguration | ( | ) | 
Definition at line 424 of file ICPConfig.cc.
| ICPConfigData* ICPConfiguration::globalConfig | ( | ) |  [inline] | 
Definition at line 432 of file ICP.h.
Referenced by ICPPeerReadCont::ICPPeerQueryCont(), MultiCastPeer::IsOnline(), ICPPeerReadCont::PeerReadStateMachine(), ICPHandlerCont::PeriodicEvent(), and ICPProcessor::start().
| int ICPConfiguration::GlobalConfigChange | ( | ) | 
Definition at line 443 of file ICPConfig.cc.
Referenced by ICPPeriodicCont::DoReconfigAction(), and ICPPeriodicCont::PeriodicEvent().
| int ICPConfiguration::HaveLock | ( | ) |  [inline] | 
Definition at line 459 of file ICP.h.
References AtomicLock::HaveLock().
Referenced by ICPProcessor::ReconfigureStateMachine().
| void * ICPConfiguration::icp_config_change_callback | ( | void * | data, | |
| void * | value, | |||
| int | startup = 0 | |||
| ) |  [static] | 
Definition at line 514 of file ICPConfig.cc.
References config_mgmt_callouts_stat, PeerConfigData::CTYPE_PARENT, PeerConfigData::CTYPE_SIBLING, ET_ICP, eventProcessor, Layout::get(), PeerConfigData::HOSTNAME_SIZE, HRTIME_MSECONDS, ICP_INCREMENT_DYN_STAT, ink_file_fd_readline(), ink_release_assert, ink_strlcpy(), IpAddr::invalidate(), IpAddr::load(), Lock(), MAX_DEFINED_PEERS, Thread::mutex, REC_SIGNAL_CONFIG_ERROR, RecSignalWarning(), ICPConfigUpdateCont::RETRY_INTERVAL, ICPConfigUpdateCont::RetryICPconfigUpdate(), EventProcessor::schedule_in(), SET_CONTINUATION_HANDLER, this_ethread(), and Unlock().
Referenced by ICPConfiguration(), and ICPConfigUpdateCont::RetryICPconfigUpdate().
| int ICPConfiguration::ICPConfigCallouts | ( | ) |  [inline] | 
Definition at line 464 of file ICP.h.
Referenced by ICPPeriodicCont::PeriodicEvent().
| PeerConfigData* ICPConfiguration::indexToPeerConfigData | ( | int | index | ) |  [inline] | 
Definition at line 436 of file ICP.h.
References ink_assert, and MAX_DEFINED_PEERS.
| int ICPConfiguration::Lock | ( | ) |  [inline] | 
Definition at line 450 of file ICP.h.
References AtomicLock::Lock().
Referenced by ICPPeriodicCont::DoReconfigAction(), icp_config_change_callback(), and ICPPeerReadCont::PeerReadStateMachine().
| int ICPConfiguration::mgr_icp_config_change_callback | ( | const char * | , | |
| RecDataT | , | |||
| RecData | data, | |||
| void * | cookie | |||
| ) |  [static] | 
Definition at line 487 of file ICPConfig.cc.
References ET_ICP, eventProcessor, RecData::rec_string, ICPConfigUpdateCont::RetryICPconfigUpdate(), EventProcessor::schedule_imm(), and SET_CONTINUATION_HANDLER.
Referenced by ICPConfiguration().
| int ICPConfiguration::PeerConfigChange | ( | ) | 
Definition at line 455 of file ICPConfig.cc.
Referenced by ICPPeriodicCont::DoReconfigAction().
| void ICPConfiguration::Unlock | ( | ) |  [inline] | 
Definition at line 454 of file ICP.h.
References AtomicLock::Unlock().
Referenced by ICPPeriodicCont::DoReconfigAction(), icp_config_change_callback(), ICPPeerReadCont::PeerReadStateMachine(), and ICPProcessor::ReconfigureStateMachine().
| void ICPConfiguration::UpdateGlobalConfig | ( | ) | 
Definition at line 449 of file ICPConfig.cc.
Referenced by ICPConfiguration().
| void ICPConfiguration::UpdatePeerConfig | ( | ) | 
Definition at line 466 of file ICPConfig.cc.
References PeerConfigData::GetHostIPByName(), and memcpy.
Referenced by ICPConfiguration().
 1.7.1
 1.7.1