本文整理汇总了C++中SipxProcess::name方法的典型用法代码示例。如果您正苦于以下问题:C++ SipxProcess::name方法的具体用法?C++ SipxProcess::name怎么用?C++ SipxProcess::name使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SipxProcess
的用法示例。
在下文中一共展示了SipxProcess::name方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: evConfigTestFailed
void Testing::evConfigTestFailed( SipxProcess& impl ) const
{
Os::Logger::instance().log(FAC_SUPERVISOR, PRI_ERR,"'%s': configuration test failed", impl.name());
ChangeState( impl, impl.pConfigTestFailed );
}
示例2: evProcessStopped
void Disabled::evProcessStopped( SipxProcess& impl ) const
{
Os::Logger::instance().log(FAC_SUPERVISOR, PRI_DEBUG,"'%s': process stopped in state '%s', ignored",
impl.name(), impl.GetCurrentState()->name());
}
示例3: evConfigurationChanged
void SipxProcessFsm::evConfigurationChanged( SipxProcess& impl, const SipxResource* resource ) const
{
OsSysLog::add(FAC_SUPERVISOR,PRI_INFO,"'%s': Received event evConfigurationChanged while in state '%s', ignored",
impl.name(), impl.GetCurrentState()->name() );
}
示例4: evConfigurationChanged
void SipxProcessFsm::evConfigurationChanged( SipxProcess& impl ) const
{
Os::Logger::instance().log(FAC_SUPERVISOR,PRI_INFO,"'%s': Received event evConfigurationChanged while in state '%s', ignored",
impl.name(), impl.GetCurrentState()->name() );
}
示例5: evConfigurationChanged
void Running::evConfigurationChanged( SipxProcess& impl ) const
{
Os::Logger::instance().log(FAC_SUPERVISOR, PRI_NOTICE,"'%s': configuration changed in state '%s', ignored",
impl.name(), impl.GetCurrentState()->name());
}
示例6: evStopCompleted
void SipxProcessFsm::evStopCompleted( SipxProcess& impl ) const
{
OsSysLog::add(FAC_SUPERVISOR,PRI_WARNING,"'%s': Received unexpected event evStopCompleted while in state '%s'",
impl.name(), impl.GetCurrentState()->name() );
}
示例7: evRestartProcess
void Stopping::evRestartProcess( SipxProcess& impl ) const
{
OsSysLog::add(FAC_SUPERVISOR,PRI_INFO,"'%s': Retrying event evRestartProcess while in state '%s'",
impl.name(), impl.GetCurrentState()->name() );
ChangeState( impl, impl.pStopping );
}
示例8: evConfigTestFailed
void Testing::evConfigTestFailed( SipxProcess& impl ) const
{
OsSysLog::add(FAC_SUPERVISOR, PRI_ERR,"'%s': configuration test failed", impl.name());
ChangeState( impl, impl.pConfigTestFailed );
}
示例9: evProcessStopped
// We need both the actual process, and the script which stops it, to finish
// before we move on. These events can come in any order.
void ShuttingDown::evProcessStopped( SipxProcess& impl ) const
{
if (impl.isCompletelyStopped())
{
ChangeState( impl, impl.pShutDown );
}
else
{
Os::Logger::instance().log(FAC_SUPERVISOR, PRI_DEBUG,"'%s': process stopped, now wait for stop script", impl.name());
}
}
示例10: evRestartProcess
void StoppingConfigtestToRestart::evRestartProcess( SipxProcess& impl ) const
{
Os::Logger::instance().log(FAC_SUPERVISOR, PRI_DEBUG,"'%s': already aborting configtest in order to restart",
impl.name());
}
示例11: evTimeout
void Stopping::evTimeout( SipxProcess& impl ) const
{
Os::Logger::instance().log(FAC_SUPERVISOR,PRI_WARNING,"'%s': process did not stop after 120 seconds, trying kill",
impl.name() );
impl.killProcess();
}