C# Class Agnos.Transports.ProcTransport

a transport to a newly created process. use one of the Connect() variants to spawn the server process and establish a connection to it. the server process is expected to operate in library mode, and is thus expected to die when the connection is closed.
Inheritance: WrappedTransport
显示文件 Open project: tomerfiliba/agnos

Public Properties

Property Type Description
proc System.Diagnostics.Process

Public Methods

Method Description
Connect ( Process proc ) : ProcTransport
Connect ( string filename ) : ProcTransport
Connect ( string filename, string args ) : ProcTransport
ProcTransport ( Process proc, ITransport transport ) : System.Text

Method Details

Connect() public static method

public static Connect ( Process proc ) : ProcTransport
proc System.Diagnostics.Process
return ProcTransport

Connect() public static method

public static Connect ( string filename ) : ProcTransport
filename string
return ProcTransport

Connect() public static method

public static Connect ( string filename, string args ) : ProcTransport
filename string
args string
return ProcTransport

ProcTransport() public method

public ProcTransport ( Process proc, ITransport transport ) : System.Text
proc System.Diagnostics.Process
transport ITransport
return System.Text

Property Details

proc public_oe property

public Process,System.Diagnostics proc
return System.Diagnostics.Process