Class ForwardParser

  • All Implemented Interfaces:
    Parser, UdpParser

    public class ForwardParser
    extends java.lang.Object
    implements UdpParser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.util.concurrent.CompletableFuture<?> parse​(io.netty.buffer.ByteBuf buffer, java.net.InetSocketAddress remoteAddress, java.net.InetSocketAddress localAddress)  
      void start​(java.util.concurrent.ScheduledExecutorService executorService)  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Parser
      • start

        public void start​(java.util.concurrent.ScheduledExecutorService executorService)
        Specified by:
        start in interface Parser
      • stop

        public void stop()
        Specified by:
        stop in interface Parser
      • parse

        public java.util.concurrent.CompletableFuture<?> parse​(io.netty.buffer.ByteBuf buffer,
                                                               java.net.InetSocketAddress remoteAddress,
                                                               java.net.InetSocketAddress localAddress)
                                                        throws java.lang.Exception
        Specified by:
        parse in interface UdpParser
        Throws:
        java.lang.Exception