Package org.openremote.agent.protocol.io
package org.openremote.agent.protocol.io
-
ClassDescriptionAbstractIOClientProtocol<T extends AbstractIOClientProtocol<T,
U, V, W, X>, U extends IOAgent<U, T, X>, V, W extends IOClient<V>, X extends org.openremote.model.asset.agent.AgentLink<?>> This is an abstractProtocol
for protocols that require anIOClient
.AbstractNettyIOClient<T,U extends SocketAddress> This is aIOClient
implementation for netty.This is intended to be used at the end of a decoder chain where the previous decoder outputs aByteBuf
; the providedAbstractNettyIOClient.ByteToMessageDecoder.decoder
should extract the messages of type <T> from theByteBuf
and add them to theList
and they will then be passed to theIOClient
.Concrete implementations must provide an encoder to fill theByteBuf
ready to be sent `over the wire`.This is intended to be used at the end of a decoder chain where the previous decoder outputs messages of type <T>.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<?>> This is an abstractProtocol
for protocols that require anNettyIOClient
.AbstractNettyIOServer<T,U extends io.netty.channel.Channel, V extends io.netty.bootstrap.AbstractBootstrap<?, ?>, W extends SocketAddress> Abstract implementation ofIOServer
that uses the Netty library.IOAgent<T extends IOAgent<T,U, V>, U extends AbstractIOClientProtocol<U, T, ?, ?, V>, V extends org.openremote.model.asset.agent.AgentLink<?>> IOClient<T>Represents an IO client that communicates with a serverIOServer<T,U, V extends SocketAddress> Represents an IO server that accepts incoming clients.This is for IO clients that use Netty and are based onChannelHandler
s for encoding/decoding messages of type <T>.