C# Class Aurora.Addon.HyperGrid.InstantMessageServerConnector

Inheritance: IService
Datei anzeigen Open project: RevolutionSmythe/Aurora-HG-Plugin

Public Properties

Property Type Description
IMUsersCache string>.Dictionary

Public Methods

Method Description
FinishedStartup ( ) : void
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Protected Methods

Method Description
ConvertGridInstantMessageToXMLRPC ( Aurora.Framework.GridInstantMessage msg ) : Hashtable

Takes a GridInstantMessage and converts it into a Hashtable for XMLRPC

ProcessInstantMessage ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
doIMSending ( string httpInfo, Hashtable xmlrpcdata ) : bool

This actually does the XMLRPC Request

Private Methods

Method Description
SendIM ( Aurora.Framework.GridInstantMessage gim ) : bool

Method Details

ConvertGridInstantMessageToXMLRPC() protected method

Takes a GridInstantMessage and converts it into a Hashtable for XMLRPC
protected ConvertGridInstantMessageToXMLRPC ( Aurora.Framework.GridInstantMessage msg ) : Hashtable
msg Aurora.Framework.GridInstantMessage The GridInstantMessage object
return System.Collections.Hashtable

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

ProcessInstantMessage() protected method

protected ProcessInstantMessage ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
return Nwc.XmlRpc.XmlRpcResponse

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

doIMSending() protected method

This actually does the XMLRPC Request
protected doIMSending ( string httpInfo, Hashtable xmlrpcdata ) : bool
httpInfo string
xmlrpcdata System.Collections.Hashtable The Instant Message data Hashtable
return bool

Property Details

IMUsersCache public_oe property

Param UUID - AgentID Param string - HTTP path to the region the user is in, blank if not found
public Dictionary IMUsersCache
return string>.Dictionary