orbit.server.net.MessageContainer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of orbit-server Show documentation
Show all versions of orbit-server Show documentation
Orbit is a system to make building highly scalable realtime services easier.
/*
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.net
import orbit.server.auth.AuthInfo
import orbit.shared.net.Message
data class MessageMetadata(
val authInfo: AuthInfo,
val messageDirection: MessageDirection,
val respondOnError: Boolean = true
)
class MessageContainer(
val message: Message,
val metadata: MessageMetadata
)
enum class MessageDirection {
INBOUND,
OUTBOUND;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy