io.quarkus.websockets.next.InboundProcessingMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-websockets-next Show documentation
Show all versions of quarkus-websockets-next Show documentation
Implementation of the WebSocket API with enhanced efficiency and usability
package io.quarkus.websockets.next;
import io.smallrye.common.annotation.Experimental;
/**
* WebSocket endpoints define the mode used to process incoming events for a specific connection.
*
* An incoming event can represent a message (text, binary, pong), opening connection and closing connection.
*
* @see WebSocketConnection
* @see WebSocketClientConnection
*/
@Experimental("This API is experimental and may change in the future")
public enum InboundProcessingMode {
/**
* Events are processed serially, ordering is guaranteed.
*/
SERIAL,
/**
* Events are processed concurrently, there are no ordering guarantees.
*/
CONCURRENT,
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy