Class EcsAasClient
java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
de.iip_ecosphere.platform.support.iip_aas.SubmodelElementsCollectionClient
de.iip_ecosphere.platform.deviceMgt.ecs.EcsAasClient
public class EcsAasClient
extends de.iip_ecosphere.platform.support.iip_aas.SubmodelElementsCollectionClient
An AasClient which implements a
SubmodelElementsCollectionClient and provides easy
access to the registry functions through the AAS.- Author:
- Dennis Pidun, University of Hildesheim
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEcsAasClient(String id) Creates an ECS AAS client for the given device/resource id. -
Method Summary
Modifier and TypeMethodDescriptionCreates remote connection credentials.Returns the runtime name of the device.Methods inherited from class de.iip_ecosphere.platform.support.iip_aas.SubmodelElementsCollectionClient
getLogger, getOperation, getProperty, getSubmodelElementCollectionMethods inherited from class de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
checkNotNull, checkString, clear, getOperation, getProperty, getPropertyStringValue, getSubmodel, requestRefresh
-
Field Details
-
NAME_OP_CREATE_REMOTE_CONNECTION_CREDENTIALS
- See Also:
-
PROP_NAME_RUNTIME_NAME
- See Also:
-
-
Constructor Details
-
EcsAasClient
Creates an ECS AAS client for the given device/resource id.- Parameters:
id- the device/resource id- Throws:
IOException- in case that the AAS cannot be found/connection cannot be established
-
-
Method Details
-
createRemoteConnectionCredentials
Creates remote connection credentials.- Returns:
- the credentials
- Throws:
ExecutionException- in case that the credentials cannot be created, the operation fails
-
getRuntimeName
Returns the runtime name of the device.- Returns:
- the runtime name
- Throws:
ExecutionException- in case that the operation call fails for some reason
-