Class SNMPAgent
java.lang.Object
org.openremote.model.asset.Asset<T>
org.openremote.model.asset.agent.Agent<SNMPAgent,SNMPProtocol,SNMPAgentLink>
org.openremote.agent.protocol.snmp.SNMPAgent
- All Implemented Interfaces:
org.openremote.model.IdentifiableEntity<SNMPAgent>
@Entity
public class SNMPAgent
extends org.openremote.model.asset.agent.Agent<SNMPAgent,SNMPProtocol,SNMPAgentLink>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.openremote.model.asset.Asset
org.openremote.model.asset.Asset.AssetSave -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.openremote.model.asset.agent.AgentDescriptor<SNMPAgent,SNMPProtocol, SNMPAgentLink> static final org.openremote.model.value.AttributeDescriptor<String>static final org.openremote.model.value.AttributeDescriptor<Integer>static final org.openremote.model.value.AttributeDescriptor<SNMPAgent.SNMPVersion>static final org.openremote.model.value.ValueDescriptor<SNMPAgent.SNMPVersion>Fields inherited from class org.openremote.model.asset.agent.Agent
BIND_HOST, BIND_PORT, DISABLED, HOST, 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_PASSWORDFields 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 -
Method Summary
Modifier and TypeMethodDescriptionGet the protocol instance for this Agent.setSNMPVersion(SNMPAgent.SNMPVersion version) 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, setUsernamePasswordMethods inherited from class org.openremote.model.asset.Asset
addAttributes, addOrReplaceAttributes, getAttribute, getAttribute, getAttribute, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, isAccessPublicRead, pathContains, setAccessPublicRead, setAttributes, setAttributes, setAttributes, setCreatedOn, setEmail, setId, setLocation, setManufacturer, setModel, setName, setNotes, setParent, setParentId, setRealm, setTags, setVersion, toString, toStringAll
-
Field Details
-
VALUE_SNMP_VERSION
public static final org.openremote.model.value.ValueDescriptor<SNMPAgent.SNMPVersion> VALUE_SNMP_VERSION -
SNMP_VERSION
public static final org.openremote.model.value.AttributeDescriptor<SNMPAgent.SNMPVersion> SNMP_VERSION -
SNMP_BIND_HOST
-
SNMP_BIND_PORT
-
DESCRIPTOR
public static final org.openremote.model.asset.agent.AgentDescriptor<SNMPAgent,SNMPProtocol, DESCRIPTORSNMPAgentLink>
-
-
Constructor Details
-
SNMPAgent
protected SNMPAgent()For use by hydrators (i.e. JPA/Jackson) -
SNMPAgent
-
-
Method Details
-
getProtocolInstance
Description copied from class:org.openremote.model.asset.agent.AgentGet the protocol instance for this Agent.- Specified by:
getProtocolInstancein classorg.openremote.model.asset.agent.Agent<SNMPAgent,SNMPProtocol, SNMPAgentLink>
-
getSNMPVersion
-
setSNMPVersion
-