Interface ShortDestination

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      short receiveShort()
      Reads (receives) the next short available, in case none short is available, then this method blocks until one is available.
    • Method Detail

      • receiveShort

        short receiveShort()
                    throws IOException,
                           EOFException
        Reads (receives) the next short available, in case none short is available, then this method blocks until one is available.
        Returns:
        The next short sent from the ShortsTransmitter counterpart.
        Throws:
        IOException - Thrown in case opening or accessing an open line (connection, junction, link) caused problems.
        EOFException - Signals that an end of file or end of stream has been reached unexpectedly during input.