code: public static NiftyProcessorFactory factoryFromTProcessor(final TProcessor standardThriftProcessor)
      {
          checkProcessMethodSignature();
  
          return new NiftyProcessorFactory()
          {
              @Override
              public NiftyProcessor getProcessor(TTransport transport)
              {
                  return processorFromTProcessor(standardThriftProcessor);
              }
          };
      }
docs: Create a {@link NiftyProcessorFactory} that always returns the same {@link NiftyProcessor}
  adapted from the given standard Thrift {@link TProcessor}