 | AMLHttpClientLibraryService Class |
This class is an abstract implementation of the
IAMLLibraryService
interface which can be used for http or https clients.
Inheritance Hierarchy Namespace: Aml.Engine.Services.LibraryServiceAssembly: Aml.Engine.Services.LibraryService (in Aml.Engine.Services.LibraryService.dll) Version: 1.0
Syntaxpublic abstract class AMLHttpClientLibraryService : IAMLLibraryService,
IAMLService
Public MustInherit Class AMLHttpClientLibraryService
Implements IAMLLibraryService, IAMLService
public ref class AMLHttpClientLibraryService abstract : IAMLLibraryService,
IAMLService
The AMLHttpClientLibraryService type exposes the following members.
Methods | Name | Description |
---|
 | GetAMLFilestreamsAsync |
If an URL is defined in the amlFileModel the resource is loaded
from the defined location. For each identified AutomationML file in the stream,
a file resource stream is returned.
|
 | GetAMLFilestreamsFromZipArchiveAsync |
Get all streams from a zip-Stream, which are recognized as AutomationML Files, which are either
AutomationML XML documents or AutomationML containers
|
 | GetAMLLibraryDocumentsAsync |
Gets a collection of all available AMLFiles, which contain AutomationML linraries
from the registered server. If an authorization is needed, it can be provided
by the accessToken. The listed files will contain a download URL
which can be used to load the AML-File into a CAEXDocument by calling
LoadAMLFileAsync(AMLFileModel).
|
 | GetAMLModelDocumentsAsync |
Gets a collection of all available AMLFiles, which contain AutomationML models
from the registered server. If an authorization is needed, it can be provided
by the accessToken. The listed files will contain a download URL
which can be used to load the AML-File into a CAEXDocument by calling
LoadAMLFileAsync(AMLFileModel).
|
 | LoadAMLFileAsync |
Loads an AML-File into a CAEXDocument or an AutomationMLContainer,
when the fileModel has defined a download URL
and a server is alive.
|
 | LoadLibraryCatalogAsync |
Gets the library catalog from the registered server, listing all available AutomationML libraries.
|
  | RegisterServer |
Register a server which can provide the AML file resources
|
Top
See Also