C# Class HttpProcessWrapper.ProcWrapper

Show file Open project: hassanselim0/MinecraftWebToolkit

Protected Properties

Property Type Description
outputLog Queue
proc System.Diagnostics.Process

Public Methods

Method Description
ClearLog ( ) : void
GetLastOutput ( ) : string
GetLog ( long since, string sep ) : string
Kill ( ) : void
ProcWrapper ( string cmd, string args, string dir ) : System
WriteLine ( string line ) : void

Protected Methods

Method Description
proc_Exited ( object sender, EventArgs e ) : void
proc_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void

Private Methods

Method Description
ProcWrapper ( ) : System
addToLog ( string str ) : void

Method Details

ClearLog() public method

public ClearLog ( ) : void
return void

GetLastOutput() public method

public GetLastOutput ( ) : string
return string

GetLog() public method

public GetLog ( long since, string sep ) : string
since long
sep string
return string

Kill() public method

public Kill ( ) : void
return void

ProcWrapper() public method

public ProcWrapper ( string cmd, string args, string dir ) : System
cmd string
args string
dir string
return System

WriteLine() public method

public WriteLine ( string line ) : void
line string
return void

proc_Exited() protected method

protected proc_Exited ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

proc_OutputDataReceived() protected method

protected proc_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
return void

Property Details

outputLog protected property

protected Queue outputLog
return Queue

proc protected property

protected Process,System.Diagnostics proc
return System.Diagnostics.Process