Allow ServerContextImpl to be created w/ specific conf.
This commit is contained in:
@@ -51,13 +51,22 @@ ServerContextImpl::ServerContextImpl():
|
||||
epicsSignalInstallSigPipeIgnore ();
|
||||
|
||||
generateGUID();
|
||||
initializeLogger();
|
||||
loadConfiguration();
|
||||
initializeLogger();
|
||||
}
|
||||
|
||||
ServerContextImpl::shared_pointer ServerContextImpl::create()
|
||||
{
|
||||
ServerContextImpl::shared_pointer thisPointer(new ServerContextImpl());
|
||||
thisPointer->loadConfiguration();
|
||||
return thisPointer;
|
||||
}
|
||||
|
||||
ServerContextImpl::shared_pointer ServerContextImpl::create(
|
||||
const Configuration::shared_pointer& conf)
|
||||
{
|
||||
ServerContextImpl::shared_pointer thisPointer(new ServerContextImpl());
|
||||
thisPointer->configuration = conf;
|
||||
thisPointer->loadConfiguration();
|
||||
return thisPointer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user