C# 클래스 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
상속: BaseServer
파일 보기 프로젝트 열기: tomerfiliba/agnos 1 사용 예제들

공개 메소드들

메소드 설명
LibraryModeServer ( Protocol processorFactory ) : System
LibraryModeServer ( Protocol processorFactory, SocketTransportFactory transportFactory ) : System
Serve ( ) : void

보호된 메소드들

메소드 설명
serveClient ( Protocol processor ) : void

메소드 상세

LibraryModeServer() 공개 메소드

public LibraryModeServer ( Protocol processorFactory ) : System
processorFactory Protocol
리턴 System

LibraryModeServer() 공개 메소드

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

Serve() 공개 메소드

public Serve ( ) : void
리턴 void

serveClient() 보호된 메소드

protected serveClient ( Protocol processor ) : void
processor Protocol
리턴 void