Class NetService.NetIOThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    NetService

    public class NetService.NetIOThread
    extends ServiceThread
    Net IO thread.
    • Constructor Detail

      • NetIOThread

        public NetIOThread​(java.lang.Runnable target)
    • Method Detail

      • getInputBuffer

        public final java.nio.ByteBuffer getInputBuffer()
        Return the input buffer of the thread.
        Returns:
        Input buffer.
      • getOutputBuffer

        public final java.nio.ByteBuffer getOutputBuffer()
        Return the output buffer of the thread.
        Returns:
        Output buffer.
      • getInputBufferSize

        public int getInputBufferSize()
        Return the size of the internal buffer used to read input data.
        Returns:
        Size of the internal input buffer.
      • getOutputBufferSize

        public int getOutputBufferSize()
        Return the size of the internal buffer used to write output data.
        Returns:
        Size of the internal output buffer.