public class NetworkManagerAas extends Object implements AasContributor
NetworkManager.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
NetworkManagerAas.ManagedServerAddressHolder
A proxy for
ManagedServerAddress as we do not want to have setters there. |
AasContributor.Kind| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_SUBMODEL |
static String |
OP_GET_PORT |
static String |
OP_IS_IN_USE_ADR |
static String |
OP_IS_IN_USE_PORT |
static String |
OP_OBTAIN_PORT |
static String |
OP_RELEASE_PORT |
static String |
OP_RESERVE_PORT |
static String |
PROP_HIGH_PORT |
static String |
PROP_LOW_PORT |
| Constructor and Description |
|---|
NetworkManagerAas() |
| Modifier and Type | Method and Description |
|---|---|
de.iip_ecosphere.platform.support.aas.Aas |
contributeTo(de.iip_ecosphere.platform.support.aas.Aas.AasBuilder aasBuilder,
de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator)
Contribute to the given
aasBuilder. |
void |
contributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder)
Contributes the real implementation functions to the
sBuilder. |
AasContributor.Kind |
getKind()
Returns the kind of AAS being created.
|
static String |
getQName(String elementName)
Returns the qualified name for an operation/property implementation.
|
boolean |
isValid()
Allow the AAS contributor to declare itself as invalid.
|
static de.iip_ecosphere.platform.support.net.ManagedServerAddress |
managedServerAddressFromJson(Object json)
Reads a
ManagedServerAddress from a JSON string. |
static String |
toJson(de.iip_ecosphere.platform.support.net.ManagedServerAddress address)
Turns a
ManagedServerAddress into JSON. |
public static final String NAME_SUBMODEL
public static final String OP_RELEASE_PORT
public static final String OP_IS_IN_USE_PORT
public static final String OP_IS_IN_USE_ADR
public static final String OP_GET_PORT
public static final String PROP_HIGH_PORT
public static final String PROP_LOW_PORT
public static final String OP_OBTAIN_PORT
public static final String OP_RESERVE_PORT
public de.iip_ecosphere.platform.support.aas.Aas contributeTo(de.iip_ecosphere.platform.support.aas.Aas.AasBuilder aasBuilder,
de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator)
AasContributoraasBuilder.contributeTo in interface AasContributoraasBuilder - the AAS to contribute toiCreator - the invocables creator for binding (remote) property and operation implementations. Property and
function namesshall be qualified by the AAS short id.aasBuilder and create an own AAS and return that. If this contributor
just contributes to the aasBuilder the result shall be nullpublic void contributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder)
AasContributorsBuilder. Names used for the iCreator in
#contributeTo(AasBuilder, InvocablesCreator) must be the same as used here. Property and function names
shall be qualified by the AAS short id.contributeTo in interface AasContributorsBuilder - the server builderpublic static String getQName(String elementName)
elementName - the element namepublic static de.iip_ecosphere.platform.support.net.ManagedServerAddress managedServerAddressFromJson(Object json)
ManagedServerAddress from a JSON string.json - the JSON object, usually a Stringpublic static String toJson(de.iip_ecosphere.platform.support.net.ManagedServerAddress address)
ManagedServerAddress into JSON.address - the address (may be null)public AasContributor.Kind getKind()
AasContributorgetKind in interface AasContributorpublic boolean isValid()
AasContributorisValid in interface AasContributortrue as prerequisite to execute AasContributor.contributeTo(ProtocolServerBuilder) and
#contributeTo(AasBuilder, InvocablesCreator), false elseCopyright © 2021. All rights reserved.