C# Class Agnos.Servers.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
Inheritance: BaseServer
Exibir arquivo Open project: tomerfiliba/agnos Class Usage Examples

Public Methods

Method Description
LibraryModeServer ( Protocol processorFactory ) : System
LibraryModeServer ( Protocol processorFactory, SocketTransportFactory transportFactory ) : System
Serve ( ) : void

Protected Methods

Method Description
serveClient ( Protocol processor ) : void

Method Details

LibraryModeServer() public method

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

LibraryModeServer() public method

public LibraryModeServer ( Protocol processorFactory, SocketTransportFactory transportFactory ) : System
processorFactory Protocol
transportFactory Agnos.TransportFactories.SocketTransportFactory
return System

Serve() public method

public Serve ( ) : void
return void

serveClient() protected method

protected serveClient ( Protocol processor ) : void
processor Protocol
return void