Class UDPStringServer

java.lang.Object
org.openremote.agent.protocol.io.AbstractNettyIOServer<T,io.netty.channel.socket.DatagramChannel,io.netty.bootstrap.Bootstrap,InetSocketAddress>
org.openremote.agent.protocol.udp.AbstractUDPServer<String>
org.openremote.agent.protocol.udp.UDPStringServer
All Implemented Interfaces:
IOServer<String,io.netty.channel.socket.DatagramChannel,InetSocketAddress>

public class UDPStringServer extends AbstractUDPServer<String>
This is an AbstractUDPServer implementation that handles String messages.

Uses DelimiterBasedFrameDecoder and StringDecoder.

  • Field Details

    • delimiter

      protected String delimiter
    • maxFrameLength

      protected int maxFrameLength
    • stripDelimiter

      protected boolean stripDelimiter
  • Constructor Details

    • UDPStringServer

      public UDPStringServer(InetSocketAddress localAddress, String delimiter, int maxFrameLength, boolean stripDelimiter)
  • Method Details