C# Class Universe.Services.GridInfoHandlers

Inheritance: IGridInfo
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Свойство Type Description
m_config IConfigSource
m_registry IRegistryCore

Méthodes publiques

Méthode Description
GridInfoHandlers ( IConfigSource configSource, IRegistryCore registry ) : System

Instantiate a GridInfoService object.

GridInfoService uses the [GridInfo] section of the standard Universe.ini file --- which is not optimal, but anything else requires a general redesign of the config system.

RestGetGridInfoMethod ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
UpdateGridInfo ( ) : void
XmlRpcGridInfoMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse

Private Methods

Méthode Description
CheckServerHost ( string uri ) : string
GetConfig ( IConfigSource config, string p ) : string
IssueWarning ( ) : void

Method Details

GridInfoHandlers() public méthode

Instantiate a GridInfoService object.
GridInfoService uses the [GridInfo] section of the standard Universe.ini file --- which is not optimal, but anything else requires a general redesign of the config system.
public GridInfoHandlers ( IConfigSource configSource, IRegistryCore registry ) : System
configSource IConfigSource path to config path containing grid information
registry IRegistryCore
Résultat System

RestGetGridInfoMethod() public méthode

public RestGetGridInfoMethod ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Résultat byte[]

UpdateGridInfo() public méthode

public UpdateGridInfo ( ) : void
Résultat void

XmlRpcGridInfoMethod() public méthode

public XmlRpcGridInfoMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
Résultat Nwc.XmlRpc.XmlRpcResponse

Property Details

m_config protected_oe property

protected IConfigSource m_config
Résultat IConfigSource

m_registry protected_oe property

protected IRegistryCore m_registry
Résultat IRegistryCore