Photon Server API
Public Member Functions | Protected Member Functions | Static Protected Attributes | Properties | List of all members
Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost > Class Template Referenceabstract
Inheritance diagram for Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >:
Photon.Common.Plugins.IPluginManager< IPlugin, IHost >

Public Member Functions

virtual IPlugin GetPlugin (IHost sink, string pluginName)
 
void UpdateConfiguration (PluginInfo pluginInfo, string basePath)
 
- Public Member Functions inherited from Photon.Common.Plugins.IPluginManager< IPlugin, IHost >
IPlugin GetPlugin (IHost sink, string pluginName)
 

Protected Member Functions

 PluginManagerBase (PluginInfo pluginInfo, string basePath)
 
 PluginManagerBase (string basePath, PluginSettings settings)
 
abstract IPlugin CreatePlugin (IPluginFactory factory, IHost sink, string pluginName, Dictionary< string, string > config, out string errorMsg)
 
abstract IPlugin LoadErrorPlugin (IHost sink, string errorMsg)
 
abstract IPlugin GetDefaultPlugin (IHost sink)
 
bool SetupPluginManager (string path, string typeName, Dictionary< string, string > config)
 

Static Protected Attributes

static readonly ILogger Log = LogManager.GetCurrentClassLogger()
 

Properties

bool Initialized [get, protected set]
 
Type Type4Load [get]
 
string PluginPath [get]
 
- Properties inherited from Photon.Common.Plugins.IPluginManager< IPlugin, IHost >
bool Initialized [get]
 
Type Type4Load [get]
 
string PluginPath [get]
 

Constructor & Destructor Documentation

Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.PluginManagerBase ( PluginInfo  pluginInfo,
string  basePath 
)
inlineprotected
Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.PluginManagerBase ( string  basePath,
PluginSettings  settings 
)
inlineprotected

Member Function Documentation

abstract IPlugin Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.CreatePlugin ( IPluginFactory  factory,
IHost  sink,
string  pluginName,
Dictionary< string, string >  config,
out string  errorMsg 
)
protectedpure virtual
abstract IPlugin Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.GetDefaultPlugin ( IHost  sink)
protectedpure virtual
virtual IPlugin Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.GetPlugin ( IHost  sink,
string  pluginName 
)
inlinevirtual
abstract IPlugin Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.LoadErrorPlugin ( IHost  sink,
string  errorMsg 
)
protectedpure virtual
bool Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.SetupPluginManager ( string  path,
string  typeName,
Dictionary< string, string >  config 
)
inlineprotected
void Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.UpdateConfiguration ( PluginInfo  pluginInfo,
string  basePath 
)
inline

Member Data Documentation

readonly ILogger Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.Log = LogManager.GetCurrentClassLogger()
staticprotected

Property Documentation

bool Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.Initialized
getprotected set
string Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.PluginPath
get
Type Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.Type4Load
get