C# Class CQRSMicroservices.ServiceFabric.WebService.OwinCommunicationListener

An OWIN communication listener for Service Fabric stateless and stateful services.
Inheritance: ICommunicationListener
Mostrar archivo Open project: AFASResearch/CQRS-Playground

Public Methods

Method Description
Abort ( ) : void

Aborts the communication listener.

CloseAsync ( CancellationToken cancellationToken ) : Task

Closes the communication listener.

OpenAsync ( CancellationToken cancellationToken ) : Task

Opens the communication listener

OwinCommunicationListener ( ServiceInitializationParameters serviceInitializationParameters, IOwinAppBuilder startup, string appRoot = null, string endpointName = "ServiceEndpoint" ) : System

Initializes a new instance of the OwinCommunicationListener class.

Private Methods

Method Description
StopWebServer ( ) : void

Method Details

Abort() public method

Aborts the communication listener.
public Abort ( ) : void
return void

CloseAsync() public method

Closes the communication listener.
public CloseAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
return Task

OpenAsync() public method

Opens the communication listener
public OpenAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
return Task

OwinCommunicationListener() public method

Initializes a new instance of the OwinCommunicationListener class.
public OwinCommunicationListener ( ServiceInitializationParameters serviceInitializationParameters, IOwinAppBuilder startup, string appRoot = null, string endpointName = "ServiceEndpoint" ) : System
serviceInitializationParameters ServiceInitializationParameters The service initialization parameters.
startup IOwinAppBuilder The startup.
appRoot string The application root.
endpointName string The name of the endpoint in the ServiceManifest.xml to use, defaults to "ServiceEndpoint"
return System