Class KNXAgent

java.lang.Object
org.openremote.model.asset.Asset<KNXAgent>
org.openremote.model.asset.agent.Agent<KNXAgent,KNXProtocol,KNXAgentLink>
org.openremote.agent.protocol.knx.KNXAgent
All Implemented Interfaces:
org.openremote.model.asset.AssetInfo, org.openremote.model.IdentifiableEntity<KNXAgent>

@Entity public class KNXAgent extends org.openremote.model.asset.agent.Agent<KNXAgent,KNXProtocol,KNXAgentLink>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.openremote.model.asset.Asset

    org.openremote.model.asset.Asset.AssetDeserializer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.openremote.model.asset.agent.AgentDescriptor<KNXAgent,KNXProtocol,KNXAgentLink>
     
    static final org.openremote.model.value.AttributeDescriptor<String>
     
    static final org.openremote.model.value.AttributeDescriptor<String>
     
    static final org.openremote.model.value.AttributeDescriptor<Boolean>
     
    static final org.openremote.model.value.AttributeDescriptor<Boolean>
     
    static final @Pattern(regexp="^\\d\\.\\d\\.\\d$") org.openremote.model.value.ValueDescriptor<String>
     

    Fields inherited from class org.openremote.model.asset.agent.Agent

    BIND_HOST, BIND_PORT, DISABLED, MESSAGE_CHARSET, MESSAGE_CONVERT_BINARY, MESSAGE_CONVERT_HEX, MESSAGE_DELIMITERS, MESSAGE_MAX_LENGTH, MESSAGE_STRIP_DELIMITER, OAUTH_GRANT, POLLING_MILLIS, PORT, SERIAL_BAUDRATE, SERIAL_PORT, STATUS, UPDATE_ON_WRITE, USERNAME_AND_PASSWORD

    Fields inherited from class org.openremote.model.asset.Asset

    accessPublicRead, attributes, createdOn, EMAIL, id, LOCATION, MANUFACTURER, MODEL, name, NOTES, parentId, path, realm, TAGS, type, version
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    For use by hydrators (i.e.
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Get the protocol instance for this Agent.
     
     
     
     
     

    Methods inherited from class org.openremote.model.asset.agent.Agent

    getAgentLink, getAgentStatus, getBindHost, getBindPort, getHost, getOAuthGrant, getPollingMillis, getPort, getSerialBaudrate, getSerialPort, getUsernamePassword, isConfigurationAttribute, isDisabled, isUpdateOnWrite, setBindHost, setBindPort, setDisabled, setHost, setOAuthGrant, setPort, setSerialBaudrate, setSerialPort, setUpdateOnWrite, setUsernamePassword

    Methods inherited from class org.openremote.model.asset.Asset

    addAttributes, addOrReplaceAttributes, getAssetClass, getAssetName, getAssetType, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, postLoadCallback, setAccessPublicRead, setAttributes, setAttributes, setAttributes, setCreatedOn, setEmail, setId, setLocation, setManufacturer, setModel, setName, setNotes, setParent, setParentId, setRealm, setTags, setVersion, toString, toStringAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • SOURCE_ADDRESS_VALUE

      @Pattern(regexp="^\\d\\.\\d\\.\\d$") public static final @Pattern(regexp="^\\d\\.\\d\\.\\d$") org.openremote.model.value.ValueDescriptor<String> SOURCE_ADDRESS_VALUE
    • HOST

      public static final org.openremote.model.value.AttributeDescriptor<String> HOST
    • NAT_MODE

      public static final org.openremote.model.value.AttributeDescriptor<Boolean> NAT_MODE
    • ROUTING_MODE

      public static final org.openremote.model.value.AttributeDescriptor<Boolean> ROUTING_MODE
    • MESSAGE_SOURCE_ADDRESS

      public static final org.openremote.model.value.AttributeDescriptor<String> MESSAGE_SOURCE_ADDRESS
    • DESCRIPTOR

      public static final org.openremote.model.asset.agent.AgentDescriptor<KNXAgent,KNXProtocol,KNXAgentLink> DESCRIPTOR
  • Constructor Details

    • KNXAgent

      protected KNXAgent()
      For use by hydrators (i.e. JPA/Jackson)
    • KNXAgent

      public KNXAgent(String name)
  • Method Details

    • getMessageSourceAddress

      public Optional<String> getMessageSourceAddress()
    • setMessageSourceAddress

      public KNXAgent setMessageSourceAddress(String value)
    • isNATMode

      public Optional<Boolean> isNATMode()
    • setNATMode

      public KNXAgent setNATMode(Boolean value)
    • isRoutingMode

      public Optional<Boolean> isRoutingMode()
    • setRoutingMode

      public KNXAgent setRoutingMode(Boolean value)
    • getProtocolInstance

      public KNXProtocol getProtocolInstance()
      Description copied from class: org.openremote.model.asset.agent.Agent
      Get the protocol instance for this Agent.
      Specified by:
      getProtocolInstance in class org.openremote.model.asset.agent.Agent<KNXAgent,KNXProtocol,KNXAgentLink>