Class DeMaskProcessor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] maskBytes  
      private int maskInt  
      private int maskOffset  
    • Constructor Summary

      Constructors 
      Constructor Description
      DeMaskProcessor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(java.nio.ByteBuffer payload)
      Used to process payloads for in the spec.
      void reset​(byte[] mask)  
      void reset​(Frame frame)  
      • Methods inherited from class java.lang.Object

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

      • maskBytes

        private byte[] maskBytes
      • maskInt

        private int maskInt
      • maskOffset

        private int maskOffset
    • Constructor Detail

      • DeMaskProcessor

        public DeMaskProcessor()
    • Method Detail

      • process

        public void process​(java.nio.ByteBuffer payload)
        Description copied from interface: PayloadProcessor
        Used to process payloads for in the spec.
        Specified by:
        process in interface PayloadProcessor
        Parameters:
        payload - the payload to process
      • reset

        public void reset​(byte[] mask)