The document presents a multi-class optical packet switching mechanism utilizing Optical Code Division Multiplexing (OCDM) and Wavelength Division Multiplexing (WDM) to enhance Quality of Service (QoS) in future optical networks. It discusses various differentiation schemes to improve performance, including simulations to evaluate packet loss probability, packet delays, and scalability, essential for managing diverse multimedia applications. Furthermore, the study proposes specific architectures and scheduling algorithms to optimize resource allocation in photonic packet-switched networks, addressing critical QoS metrics.