Stop in for a cup of coffee

So just for the sake of double checking myself. On a mechanical fuel pump, the threaded outlet attaches to the metal line and goes up to the carb right? And the barbed one is the inlet from the tank?