public class InnerServerUtil extends Object
| 构造器和说明 |
|---|
InnerServerUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getInnerPass() |
static Integer |
getServerId(io.netty.channel.Channel channel)
获取服务器Id
|
static Integer |
getServerType(io.netty.channel.Channel channel)
获取服务器类型
|
static void |
setServerId(io.netty.channel.Channel channel,
int serverId)
设置服务器Id
|
static void |
setServerType(io.netty.channel.Channel channel,
int serverType)
设置服务器类型
|
public static void setServerType(io.netty.channel.Channel channel,
int serverType)
channel - serverType - public static Integer getServerType(io.netty.channel.Channel channel)
channel - public static void setServerId(io.netty.channel.Channel channel,
int serverId)
channel - serverId - public static Integer getServerId(io.netty.channel.Channel channel)
channel - public static String getInnerPass()
Copyright © 2017. All rights reserved.