public class AASServerComponent extends Object implements IComponent
| Constructor and Description |
|---|
AASServerComponent(BaSyxContextConfiguration contextConfig)
Constructs an empty AAS server using the passed context
|
AASServerComponent(BaSyxContextConfiguration contextConfig,
BaSyxAASServerConfiguration aasConfig)
Constructs an empty AAS server using the passed configuration
|
AASServerComponent(BaSyxContextConfiguration contextConfig,
BaSyxAASServerConfiguration aasConfig,
BaSyxMongoDBConfiguration mongoDBConfig)
Constructs an empty AAS server using the passed configuration
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableMQTT()
Disables mqtt configuration.
|
void |
enableMQTT(BaSyxMqttConfiguration configuration)
Sets and enables mqtt connection configuration for this component.
|
String |
getURL()
Retrieves the URL on which the component is providing its HTTP server
|
void |
setRegistry(org.eclipse.basyx.aas.registration.api.IAASRegistryService registry)
Sets a registry service for registering AAS that are created during startup
|
void |
startComponent()
Starts the AASX component at http://${hostName}:${port}/${path}
|
void |
stopComponent() |
public AASServerComponent(BaSyxContextConfiguration contextConfig)
public AASServerComponent(BaSyxContextConfiguration contextConfig, BaSyxAASServerConfiguration aasConfig)
public AASServerComponent(BaSyxContextConfiguration contextConfig, BaSyxAASServerConfiguration aasConfig, BaSyxMongoDBConfiguration mongoDBConfig)
public void enableMQTT(BaSyxMqttConfiguration configuration)
configuration - public void disableMQTT()
public void setRegistry(org.eclipse.basyx.aas.registration.api.IAASRegistryService registry)
registry - public void startComponent()
startComponent in interface IComponentpublic String getURL()
public void stopComponent()
stopComponent in interface IComponentCopyright © 2021. All rights reserved.