mirror of
https://github.com/dkmstr/openuds.git
synced 2025-09-23 17:45:11 +03:00
20 lines
709 B
ReStructuredText
20 lines
709 B
ReStructuredText
=======================
|
|
Sample Service Provider
|
|
=======================
|
|
|
|
The service provider is the top of the tree of services needed clases.
|
|
It main function is to provide a base for services, where this services contains
|
|
a common parent that is, for example, a server, a range of IPs, etc...
|
|
|
|
This sample covers a simple service provider, explains also a bit about FormFields
|
|
and shows what tasks must be done by a service provider.
|
|
|
|
You can easily follow the code to see what it does, and what you have to do if you
|
|
want to provide a new one.
|
|
|
|
:download:`Download sample </_downloads/samples/services/SampleProvider.py>`
|
|
|
|
|
|
.. literalinclude:: /_downloads/samples/services/SampleProvider.py
|
|
:linenos:
|