C# Class Agnos.Servers.CmdlineServer

command-line server. provides a common Main() function for the application that parses command-line options and invokes the appropriate server, until it quits
ファイルを表示 Open project: tomerfiliba/agnos Class Usage Examples

Protected Properties

Property Type Description
processorFactory Protocol.IProcessorFactory

Public Methods

Method Description
CmdlineServer ( Protocol processorFactory ) : System
Main ( string args ) : void

Protected Methods

Method Description
parse_args ( ArgSpec>.Dictionary argspecs, string args ) : object>.Dictionary

Method Details

CmdlineServer() public method

public CmdlineServer ( Protocol processorFactory ) : System
processorFactory Protocol
return System

Main() public method

public Main ( string args ) : void
args string
return void

parse_args() protected static method

protected static parse_args ( ArgSpec>.Dictionary argspecs, string args ) : object>.Dictionary
argspecs ArgSpec>.Dictionary
args string
return object>.Dictionary

Property Details

processorFactory protected_oe property

protected Protocol.IProcessorFactory processorFactory
return Protocol.IProcessorFactory