Class VabOperationsProvider.VabHttpOperationsBuilder
- java.lang.Object
-
- de.iip_ecosphere.platform.support.aas.basyx.VabOperationsProvider.VabHttpOperationsBuilder
-
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder,de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.Server>
- Enclosing class:
- VabOperationsProvider
static class VabOperationsProvider.VabHttpOperationsBuilder extends java.lang.Object implements de.iip_ecosphere.platform.support.aas.ProtocolServerBuilderThe protocol server builder for this provider.- Author:
- Holger Eichelberger, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private VabOperationsProviderinstanceprivate de.iip_ecosphere.platform.support.net.KeyStoreDescriptorkstoreprivate intportprivate de.iip_ecosphere.platform.support.Schemaschema
-
Constructor Summary
Constructors Constructor Description VabHttpOperationsBuilder(int port, de.iip_ecosphere.platform.support.Schema schema, de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore)Creates a builder instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.iip_ecosphere.platform.support.Serverbuild()de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder.PayloadCodeccreatePayloadCodec()de.iip_ecosphere.platform.support.aas.ProtocolServerBuilderdefineOperation(java.lang.String name, java.util.function.Function<java.lang.Object[],java.lang.Object> function)de.iip_ecosphere.platform.support.aas.ProtocolServerBuilderdefineProperty(java.lang.String name, java.util.function.Supplier<java.lang.Object> get, java.util.function.Consumer<java.lang.Object> set)booleanisAvailable(java.lang.String host)
-
-
-
Field Detail
-
port
private int port
-
schema
private de.iip_ecosphere.platform.support.Schema schema
-
instance
private VabOperationsProvider instance
-
kstore
private de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore
-
-
Constructor Detail
-
VabHttpOperationsBuilder
VabHttpOperationsBuilder(int port, de.iip_ecosphere.platform.support.Schema schema, de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore)Creates a builder instance.- Parameters:
port- the target communication portkstore- the key store descriptor, ignored if nullschema- the protocol schema, shall beSchema.HTTPorSchema.HTTPS
-
-
Method Detail
-
defineOperation
public de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder defineOperation(java.lang.String name, java.util.function.Function<java.lang.Object[],java.lang.Object> function)- Specified by:
defineOperationin interfacede.iip_ecosphere.platform.support.aas.ProtocolServerBuilder
-
defineProperty
public de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder defineProperty(java.lang.String name, java.util.function.Supplier<java.lang.Object> get, java.util.function.Consumer<java.lang.Object> set)- Specified by:
definePropertyin interfacede.iip_ecosphere.platform.support.aas.ProtocolServerBuilder
-
build
public de.iip_ecosphere.platform.support.Server build()
- Specified by:
buildin interfacede.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.Server>
-
createPayloadCodec
public de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder.PayloadCodec createPayloadCodec()
- Specified by:
createPayloadCodecin interfacede.iip_ecosphere.platform.support.aas.ProtocolServerBuilder
-
isAvailable
public boolean isAvailable(java.lang.String host)
- Specified by:
isAvailablein interfacede.iip_ecosphere.platform.support.aas.ProtocolServerBuilder
-
-