Package org.openremote.agent.protocol.io
Class AbstractNettyIOClientProtocol<T extends AbstractIOClientProtocol<T,U,V,W,X>,U extends IOAgent<U,T,X>,V,W extends NettyIOClient<V>,X extends org.openremote.model.asset.agent.AgentLink<?>>
java.lang.Object
org.openremote.agent.protocol.AbstractProtocol<U,X>
org.openremote.agent.protocol.io.AbstractIOClientProtocol<T,U,V,W,X>
org.openremote.agent.protocol.io.AbstractNettyIOClientProtocol<T,U,V,W,X>
- All Implemented Interfaces:
org.openremote.model.asset.agent.Protocol<U>
- Direct Known Subclasses:
AbstractSerialProtocol,AbstractTCPClientProtocol,AbstractUDPProtocol,ArtnetProtocol,WebsocketAgentProtocol
public abstract class AbstractNettyIOClientProtocol<T extends AbstractIOClientProtocol<T,U,V,W,X>,U extends IOAgent<U,T,X>,V,W extends NettyIOClient<V>,X extends org.openremote.model.asset.agent.AgentLink<?>>
extends AbstractIOClientProtocol<T,U,V,W,X>
This is an abstract
Protocol for protocols that require an NettyIOClient.-
Field Summary
Fields inherited from class org.openremote.agent.protocol.io.AbstractIOClientProtocol
client, LOGFields 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
Methods inherited from class org.openremote.agent.protocol.io.AbstractIOClientProtocol
createWriteMessage, doCreateIoClient, doLinkedAttributeWrite, doStart, doStop, getGenericStringEncodersAndDecoders, getProtocolInstanceUri, onConnectionStatusChanged, onMessageReceivedMethods inherited from class org.openremote.agent.protocol.AbstractProtocol
doLinkAttribute, doUnlinkAttribute, 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
getProtocolName, prefixLogMessage
-
Constructor Details
-
AbstractNettyIOClientProtocol
-
-
Method Details
-
createIoClient
- Overrides:
createIoClientin classAbstractIOClientProtocol<T extends AbstractIOClientProtocol<T,U, V, W, X>, U extends IOAgent<U, T, X>, V, W extends NettyIOClient<V>, X extends org.openremote.model.asset.agent.AgentLink<?>> - Throws:
Exception
-
getEncoderDecoderProvider
Gets the NettyChannelHandlers for the IO client
-