Class SimpleUdpServer

java.lang.Object
org.apache.hadoop.oncrpc.SimpleUdpServer

public class SimpleUdpServer extends Object
Simple UDP server implemented based on netty.
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
    • port

      protected final int port
    • rpcProgram

      protected final io.netty.channel.ChannelInboundHandlerAdapter rpcProgram
    • workerCount

      protected final int workerCount
    • boundPort

      protected int boundPort
  • Constructor Details

    • SimpleUdpServer

      public SimpleUdpServer(int port, io.netty.channel.ChannelInboundHandlerAdapter program, int workerCount)
  • Method Details