There have been countless efforts directed toward efficiently controlling the flow of vehicular traffic through an intersection. This paper describes an algorithm designed for the signal control problem that employs concepts drawn from the field of packet switching in computer networks. The novel method proposed utilizes a maximal weight matching algorithm to minimize the queue sizes at each approach, yielding significantly lower average vehicle delay through the intersection. Of particular interest are scenarios in which differentiated services are offered to vehicle classes with differing priorities. Lyapunov function-based analysis is provided, deriving the conditions under which the system is guaranteed to be stable. The algorithm is compared to an optimized fixed-time controller and a vehicle-actuated controller using the VISSIM traffic simulation environment. Simulation results demonstrate the performance gain obtained when using the proposed scheme, particularly in the scenario in which vehicle routes are unequally distributed, and multiple classes of service are desired.