C# Class Universe.Framework.ConsoleFramework.RemoteConsole

Inheritance: CommandConsole
显示文件 Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
CloseConnection ( UUID id ) : void
Initialize ( IConfigSource source, ISimulationBase simBase ) : void
Output ( string text, Level level ) : void
ReadLine ( string p, bool isCommand, bool e ) : string
SetServer ( IHttpServer server ) : void

Private Methods

Method Description
DecodePostString ( string data ) : Hashtable
DoExpire ( ) : void
GetEvents ( UUID RequestID, UUID sessionID, string req, OSHttpResponse response ) : byte[]
HandleHttpCloseSession ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
HandleHttpSessionCommand ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
HandleHttpStartSession ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
HasEvents ( UUID RequestID, UUID sessionID ) : bool
NoEvents ( UUID RequestID, UUID id, OSHttpResponse response ) : byte[]

Method Details

CloseConnection() public method

public CloseConnection ( UUID id ) : void
id UUID
return void

Initialize() public method

public Initialize ( IConfigSource source, ISimulationBase simBase ) : void
source IConfigSource
simBase ISimulationBase
return void

Output() public method

public Output ( string text, Level level ) : void
text string
level Level
return void

ReadLine() public method

public ReadLine ( string p, bool isCommand, bool e ) : string
p string
isCommand bool
e bool
return string

SetServer() public method

public SetServer ( IHttpServer server ) : void
server IHttpServer
return void