Class CommandChannelDecoder

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.apache.maven.surefire.api.booter.MasterProcessChannelDecoder

    public class CommandChannelDecoder
    extends java.lang.Object
    implements org.apache.maven.surefire.api.booter.MasterProcessChannelDecoder
    magic number : opcode [: opcode specific data]*
    Since:
    3.0.0-M5
    Author:
    Tibor Digana (tibor17)
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandChannelDecoder​(java.nio.channels.ReadableByteChannel channel, org.apache.maven.surefire.api.fork.ForkNodeArguments arguments)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      org.apache.maven.surefire.api.booter.Command decode()  
      • Methods inherited from class java.lang.Object

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

      • CommandChannelDecoder

        public CommandChannelDecoder​(@Nonnull
                                     java.nio.channels.ReadableByteChannel channel,
                                     @Nonnull
                                     org.apache.maven.surefire.api.fork.ForkNodeArguments arguments)
    • Method Detail

      • decode

        @Nonnull
        public org.apache.maven.surefire.api.booter.Command decode()
                                                            throws java.io.IOException
        Specified by:
        decode in interface org.apache.maven.surefire.api.booter.MasterProcessChannelDecoder
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface org.apache.maven.surefire.api.booter.MasterProcessChannelDecoder
        Throws:
        java.io.IOException