orbit.server.pipeline.step.PipelineStep.kt Maven / Gradle / Ivy
/*
Copyright (C) 2015 - 2019 Electronic Arts Inc. All rights reserved.
This file is part of the Orbit Project .
See license in LICENSE.
*/
package orbit.server.pipeline.step
import orbit.server.pipeline.PipelineContext
import orbit.shared.net.Message
interface PipelineStep {
suspend fun onOutbound(context: PipelineContext, msg: Message): Unit = context.next(msg)
suspend fun onInbound(context: PipelineContext, msg: Message): Unit = context.next(msg)
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy