Class InoNetReceiveImpl


  • public class InoNetReceiveImpl
    extends java.lang.Object
    Helping class for receiving data from channel.
    Author:
    nagl
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] receive​(java.nio.channels.SocketChannel ch)
      Read raw telegram from Channel
      • Methods inherited from class java.lang.Object

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

      • InoNetReceiveImpl

        public InoNetReceiveImpl()
    • Method Detail

      • receive

        public static byte[] receive​(java.nio.channels.SocketChannel ch)
                              throws java.io.IOException,
                                     InoNetException
        Read raw telegram from Channel
        Parameters:
        ch - Channel
        Returns:
        bytes read
        Throws:
        java.io.IOException
        InoNetException