public T withProcessor ( final NiftyProcessor processor ) { this . niftyProcessorFactory = new NiftyProcessorFactory ( ) { @ Override public NiftyProcessor getProcessor ( TTransport transport ) { return processor ; } } ; return ( T ) this ; }
Specify the TProcessor .