C# Class Universe.Services.GridInfoHandlers

Inheritance: IGridInfo
Mostra file Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property Type Description
m_config IConfigSource
m_registry IRegistryCore

Public Methods

Method 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

Method Description
CheckServerHost ( string uri ) : string
GetConfig ( IConfigSource config, string p ) : string
IssueWarning ( ) : void

Method Details

GridInfoHandlers() public method

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
return System

RestGetGridInfoMethod() public method

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
return byte[]

UpdateGridInfo() public method

public UpdateGridInfo ( ) : void
return void

XmlRpcGridInfoMethod() public method

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

Property Details

m_config protected_oe property

protected IConfigSource m_config
return IConfigSource

m_registry protected_oe property

protected IRegistryCore m_registry
return IRegistryCore