public final class Stack extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Stack.ConnectionLimits |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HTTP_PORT |
static int |
DEFAULT_HTTPS_PORT |
static int |
DEFAULT_TCP_PORT |
static String |
HTTPS_UABINARY_TRANSPORT_URI |
static String |
HTTPS_UAJSON_TRANSPORT_URI |
static String |
HTTPS_UAXML_TRANSPORT_URI |
static String |
TCP_UASC_UABINARY_TRANSPORT_URI |
static String |
VERSION |
static String |
WSS_PROTOCOL_BINARY |
static String |
WSS_PROTOCOL_JSON |
static String |
WSS_UAJSON_TRANSPORT_URI |
static String |
WSS_UASC_UABINARY_TRANSPORT_URI |
| Constructor and Description |
|---|
Stack() |
| Modifier and Type | Method and Description |
|---|---|
static void |
releaseSharedResources()
Release shared resources, waiting at most 5 seconds for the
NioEventLoopGroup to shutdown gracefully. |
static void |
releaseSharedResources(long timeout,
TimeUnit unit)
Release shared resources, waiting at most the specified timeout for the
NioEventLoopGroup to shutdown
gracefully. |
static io.netty.channel.nio.NioEventLoopGroup |
sharedEventLoop() |
static ExecutorService |
sharedExecutor() |
static ScheduledExecutorService |
sharedScheduledExecutor() |
static io.netty.util.HashedWheelTimer |
sharedWheelTimer() |
public static final String VERSION
public static final String TCP_UASC_UABINARY_TRANSPORT_URI
public static final String HTTPS_UABINARY_TRANSPORT_URI
public static final String HTTPS_UAXML_TRANSPORT_URI
public static final String HTTPS_UAJSON_TRANSPORT_URI
public static final String WSS_UASC_UABINARY_TRANSPORT_URI
public static final String WSS_UAJSON_TRANSPORT_URI
public static final String WSS_PROTOCOL_BINARY
public static final String WSS_PROTOCOL_JSON
public static final int DEFAULT_TCP_PORT
public static final int DEFAULT_HTTP_PORT
public static final int DEFAULT_HTTPS_PORT
public static io.netty.channel.nio.NioEventLoopGroup sharedEventLoop()
NioEventLoopGroup.public static ExecutorService sharedExecutor()
ExecutorService.public static ScheduledExecutorService sharedScheduledExecutor()
ScheduledExecutorService.public static io.netty.util.HashedWheelTimer sharedWheelTimer()
HashedWheelTimer.public static void releaseSharedResources()
NioEventLoopGroup to shutdown gracefully.public static void releaseSharedResources(long timeout,
TimeUnit unit)
NioEventLoopGroup to shutdown
gracefully.timeout - the duration of the timeout.unit - the unit of the timeout duration.Copyright © 2025. All rights reserved.