General Stochastic Processes in the Theory of Queues