Class VelbusSerialProtocol
java.lang.Object
org.openremote.agent.protocol.AbstractProtocol<VelbusSerialAgent,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, network
Fields inherited from class org.openremote.agent.protocol.AbstractProtocol
agent, assetService, datapointService, dynamicAttributes, executorService, linkedAttributes, messageBrokerContext, predictedDatapointService, processorLock, producerTemplate, scheduledExecutorService, timerService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IOClient
<VelbusPacket> createIoClient
(VelbusSerialAgent agent) Should return an instance ofIOClient
for the supplied agentGet the name for this protocolMethods inherited from class org.openremote.agent.protocol.velbus.AbstractVelbusProtocol
doLinkAttribute, doLinkedAttributeWrite, doStart, doStop, doUnlinkAttribute, getProtocolInstanceUri, startAssetImport
Methods inherited from class org.openremote.agent.protocol.AbstractProtocol
getAgent, getLinkedAttributes, linkAttribute, onAgentAttributeChanged, processLinkedAttributeWrite, sendAttributeEvent, sendAttributeEvent, setAssetService, setConnectionStatus, start, stop, toString, unlinkAttribute, updateLinkedAttribute, updateLinkedAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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.Protocol
Get the name for this protocol -
createIoClient
Description copied from class:AbstractVelbusProtocol
Should return an instance ofIOClient
for the supplied agent- Specified by:
createIoClient
in classAbstractVelbusProtocol<VelbusSerialProtocol,
VelbusSerialAgent> - Throws:
RuntimeException
-