C# 클래스 Helios.Net.NetworkEventLoop

IEventLoop implementation intended to be used with Non-blocking I/O (NIO) implementations of IConnection. Uses IFibers and a fixed size threadpool internally.
상속: Helios.Ops.Executors.ThreadedEventLoop
파일 보기 프로젝트 열기: helios-io/helios 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( bool shareFiber = false ) : NetworkEventLoop
NetworkEventLoop ( IExecutor internalExecutor, int workerThreads ) : System
NetworkEventLoop ( IFiber scheduler ) : System
NetworkEventLoop ( int workerThreads ) : System
SetExceptionHandler ( ExceptionCallback callback, IConnection connection ) : void

메소드 상세

Clone() 공개 메소드

public Clone ( bool shareFiber = false ) : NetworkEventLoop
shareFiber bool
리턴 NetworkEventLoop

NetworkEventLoop() 공개 메소드

public NetworkEventLoop ( IExecutor internalExecutor, int workerThreads ) : System
internalExecutor IExecutor
workerThreads int
리턴 System

NetworkEventLoop() 공개 메소드

public NetworkEventLoop ( IFiber scheduler ) : System
scheduler IFiber
리턴 System

NetworkEventLoop() 공개 메소드

public NetworkEventLoop ( int workerThreads ) : System
workerThreads int
리턴 System

SetExceptionHandler() 공개 메소드

public SetExceptionHandler ( ExceptionCallback callback, IConnection connection ) : void
callback ExceptionCallback
connection IConnection
리턴 void