Class ProtocolDecoderInitial

    • Field Detail

      • LOGID

        static final LogIDs LOGID
      • shared_secrets

        private final byte[][] shared_secrets
      • initial_data

        final java.nio.ByteBuffer initial_data
      • decode_buffer

        java.nio.ByteBuffer decode_buffer
      • decode_read

        int decode_read
      • start_time

        private long start_time
      • last_read_time

        long last_read_time
      • processing_complete

        private boolean processing_complete
    • Constructor Detail

      • ProtocolDecoderInitial

        public ProtocolDecoderInitial​(TransportHelper _transport,
                                      byte[][] _shared_secrets,
                                      boolean _outgoing,
                                      java.nio.ByteBuffer _initial_data,
                                      ProtocolDecoderAdapter _adapter)
                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • decodePHE

        protected void decodePHE​(java.nio.ByteBuffer buffer)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • complete

        protected void complete​(java.nio.ByteBuffer remaining_initial_data)
      • failed

        protected void failed​(java.lang.Throwable reason)