C# Класс Universe.Services.GridInfoHandlers

Наследование: IGridInfo
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_config IConfigSource
m_registry IRegistryCore

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CheckServerHost ( string uri ) : string
GetConfig ( IConfigSource config, string p ) : string
IssueWarning ( ) : void

Описание методов

GridInfoHandlers() публичный Метод

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
Результат System

RestGetGridInfoMethod() публичный Метод

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
Результат byte[]

UpdateGridInfo() публичный Метод

public UpdateGridInfo ( ) : void
Результат void

XmlRpcGridInfoMethod() публичный Метод

public XmlRpcGridInfoMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
Результат Nwc.XmlRpc.XmlRpcResponse

Описание свойств

m_config защищенное свойство

protected IConfigSource m_config
Результат IConfigSource

m_registry защищенное свойство

protected IRegistryCore m_registry
Результат IRegistryCore