C# Class MindTouch.Clacks.Server.ServerBuilder

Inheritance: ISyncServerBuilder, IAsyncServerBuilder
Datei anzeigen Open project: MindTouch/MindTouch.Clacks

Public Methods

Method Description
Build ( ) : ClacksServer
Build ( IClacksInstrumentation instrumentation ) : ClacksServer
CreateAsync ( IPEndPoint endPoint ) : IAsyncServerBuilder
CreateSync ( IPEndPoint endPoint ) : ISyncServerBuilder
WithDefaultHandler ( IResponse>.Func handler ) : IAsyncServerBuilder
WithErrorHandler ( Func handler ) : IAsyncServerBuilder

Private Methods

Method Description
IAsyncServerBuilder ( string command ) : IAsyncFluentCommandRegistration
IAsyncServerBuilder ( Action handler ) : IAsyncServerBuilder
ISyncServerBuilder ( string command ) : ISyncFluentCommandRegistration
ISyncServerBuilder ( Func handler ) : ISyncServerBuilder
ISyncServerBuilder ( IResponse>.Func handler ) : ISyncServerBuilder
ServerBuilder ( IPEndPoint endPoint, bool isAsync ) : System

Method Details

Build() public method

public Build ( ) : ClacksServer
return ClacksServer

Build() public method

public Build ( IClacksInstrumentation instrumentation ) : ClacksServer
instrumentation IClacksInstrumentation
return ClacksServer

CreateAsync() public static method

public static CreateAsync ( IPEndPoint endPoint ) : IAsyncServerBuilder
endPoint System.Net.IPEndPoint
return IAsyncServerBuilder

CreateSync() public static method

public static CreateSync ( IPEndPoint endPoint ) : ISyncServerBuilder
endPoint System.Net.IPEndPoint
return ISyncServerBuilder

WithDefaultHandler() public method

public WithDefaultHandler ( IResponse>.Func handler ) : IAsyncServerBuilder
handler IResponse>.Func
return IAsyncServerBuilder

WithErrorHandler() public method

public WithErrorHandler ( Func handler ) : IAsyncServerBuilder
handler Func
return IAsyncServerBuilder