Class AbstractTCPServer<T>

java.lang.Object
org.openremote.agent.protocol.io.AbstractNettyIOServer<T,io.netty.channel.socket.SocketChannel,io.netty.bootstrap.ServerBootstrap,InetSocketAddress>
org.openremote.agent.protocol.tcp.AbstractTCPServer<T>
All Implemented Interfaces:
IOServer<T,io.netty.channel.socket.SocketChannel,InetSocketAddress>
Direct Known Subclasses:
TCPStringServer

public abstract class AbstractTCPServer<T> extends AbstractNettyIOServer<T,io.netty.channel.socket.SocketChannel,io.netty.bootstrap.ServerBootstrap,InetSocketAddress>
Abstract IO Server for creating TCP socket servers that clients can connect to. Concrete implementation need to configure the pipeline with the necessary encoders and decoders to ensure messages of type <T> are generated/consumed at/from the end/start of the pipeline.