Class NullMorpheoServer
No-op server implementation.
Implements
Inherited Members
Namespace: Morpheo.Core.Server
Assembly: Morpheo.Core.dll
Syntax
public class NullMorpheoServer : IMorpheoServer
Methods
| Edit this page View SourceStartAsync(CancellationToken)
Starts the server asynchronously.
Declaration
public Task StartAsync(CancellationToken ct)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | ct | Cancellation token. |
Returns
| Type | Description |
|---|---|
| Task |
StopAsync(CancellationToken)
Stops the server asynchronously.
Declaration
public Task StopAsync(CancellationToken ct)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | ct | Cancellation token. |
Returns
| Type | Description |
|---|---|
| Task |