C# (CSharp) Agnos.Servers Namespace

Classes

Name Description
BaseServer The base class of all Agnos servers. note that you're not required to extend this class in order to be implement a server -- it's just a place to store all of the common logic
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
CmdlineServer.ArgSpec
LibraryModeServer the library-mode server -- opens an arbitrary socket, writes its details (host and port number) to stdout, and serves for a single connection on that socket. when the connection is closed, the server quits and the application will usually terminate
SimpleServer the SimpleServer can handle a single client at any point of time
ThreadedServer creates a thread-per-client to handle each client in parallel