-
Notifications
You must be signed in to change notification settings - Fork 0
ServerAPI
ElbyFross edited this page Jan 9, 2020
·
1 revision
A static API class that provides common methods for simplifying handle of server pipes' tasks.
- Located at the
PipesProvider.Server
namespace. - Provides an API for handling tasks related to server transmission controllers:
- Implements a base unified
ServerLoop
thats has a base server logic and used by all controllers. - Implements expire features for controller that cause restart of opened server pipes.
- Manages a server's stop operation.
- Implements a base unified
Before app will finished there must be closed all opened transmission controllers. Otherwise app's process will hold till all streams will be closed.
You can close all started controllers by calling by calling the StopAllServers
method.
// Starting an app and establishing transmission controllers.
...
// Some handling code here.
...
// App finalize.
ServerAPI.StopAllServers();
- Donate: Why support the initiative? | Patreon
- Contacts: LinkedIn
- See also: WPF Handler | Uniform Data Operator | Datum Point