Class VelbusSerialProtocol
java.lang.Object
org.openremote.agent.protocol.AbstractProtocol<T,VelbusAgentLink>
org.openremote.agent.protocol.velbus.AbstractVelbusProtocol<VelbusSerialProtocol,VelbusSerialAgent>
org.openremote.agent.protocol.velbus.VelbusSerialProtocol
- All Implemented Interfaces:
org.openremote.model.asset.agent.Protocol<VelbusSerialAgent>,org.openremote.model.protocol.ProtocolAssetImport
public class VelbusSerialProtocol
extends AbstractVelbusProtocol<VelbusSerialProtocol,VelbusSerialAgent>
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.velbus.AbstractVelbusProtocol
attributePropertyValueConsumers, DEFAULT_TIME_INJECTION_INTERVAL_SECONDS, LOG, networkFields inherited from class org.openremote.agent.protocol.AbstractProtocol
agent, assetService, datapointService, dynamicAttributes, executorService, linkedAttributes, messageBrokerContext, predictedDatapointService, producerTemplate, timerServiceFields inherited from interface org.openremote.model.asset.agent.Protocol
ACTUATOR_TOPIC, ACTUATOR_TOPIC_TARGET_PROTOCOL, DYNAMIC_TIME_PLACEHOLDER_REGEXP, DYNAMIC_VALUE_PLACEHOLDER, DYNAMIC_VALUE_PLACEHOLDER_REGEXP, SENSOR_QUEUE, SENSOR_QUEUE_SOURCE_PROTOCOL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IOClient<VelbusPacket>createIoClient(VelbusSerialAgent agent) Should return an instance ofIOClientfor the supplied agentGet the name for this protocolMethods inherited from class org.openremote.agent.protocol.velbus.AbstractVelbusProtocol
doLinkAttribute, doLinkedAttributeWrite, doStart, doStop, doUnlinkAttribute, getProtocolInstanceUri, startAssetImportMethods inherited from class org.openremote.agent.protocol.AbstractProtocol
getAgent, getLinkedAttributes, linkAttribute, processLinkedAttributeWrite, sendAttributeEvent, sendAttributeEvent, setConnectionStatus, start, stop, toString, unlinkAttribute, updateAgentAttribute, updateLinkedAttribute, updateLinkedAttributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openremote.model.asset.agent.Protocol
prefixLogMessage
-
Field Details
-
PROTOCOL_DISPLAY_NAME
- See Also:
-
DEFAULT_BAUDRATE
public static final int DEFAULT_BAUDRATE- See Also:
-
-
Constructor Details
-
VelbusSerialProtocol
-
-
Method Details
-
getProtocolName
Description copied from interface:org.openremote.model.asset.agent.ProtocolGet the name for this protocol -
createIoClient
Description copied from class:AbstractVelbusProtocolShould return an instance ofIOClientfor the supplied agent- Specified by:
createIoClientin classAbstractVelbusProtocol<VelbusSerialProtocol,VelbusSerialAgent> - Throws:
RuntimeException
-