code: @Override
      public final Frame getFrame(final Protocol p) throws IOException {
          if (this.protocol == p) {
              return this;
          }
  
          final Frame next = getNextFrame();
          if (next != null) {
              return next.getFrame(p);
          }
  
          return null;
      }
docs: {@inheritDoc}