Photon Server API Documentation v5.0RC1

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 ()
 
 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

◆ PluginManagerBase() [1/3]

Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.PluginManagerBase ( )
inlineprotected

◆ PluginManagerBase() [2/3]

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

◆ PluginManagerBase() [3/3]

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

Member Function Documentation

◆ CreatePlugin()

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

◆ GetDefaultPlugin()

abstract IPlugin Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.GetDefaultPlugin ( IHost  sink)
protectedpure virtual

◆ GetPlugin()

virtual IPlugin Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.GetPlugin ( IHost  sink,
string  pluginName 
)
inlinevirtual

◆ LoadErrorPlugin()

abstract IPlugin Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.LoadErrorPlugin ( IHost  sink,
string  errorMsg 
)
protectedpure virtual

◆ SetupPluginManager()

bool Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.SetupPluginManager ( string  path,
string  typeName,
Dictionary< string, string >  config 
)
inlineprotected

◆ UpdateConfiguration()

void Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.UpdateConfiguration ( PluginInfo  pluginInfo,
string  basePath 
)
inline

Member Data Documentation

◆ Log

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

Property Documentation

◆ Initialized

bool Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.Initialized
getprotected set

◆ PluginPath

string Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.PluginPath
get

◆ Type4Load

Type Photon.Common.Plugins.PluginManagerBase< IPluginFactory, IPlugin, IHost >.Type4Load
get