public class NetworkUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getDeviceId() |
static String |
getHttpServerAddress()
get http server address
|
static String |
getMacFromInetAddress(InetAddress inetAddress) |
static String[] |
getOpenSslSupportedProtocolsSet(String[] serverSupportedProtocols,
io.netty.handler.ssl.SslProvider sslProvider) |
static String |
getServerAddress() |
static String |
getServerAddress(ClientConfig clientConfig) |
static boolean |
isOnlineEnv(String serverUrl) |
public static String getDeviceId()
public static String getMacFromInetAddress(InetAddress inetAddress)
public static String[] getOpenSslSupportedProtocolsSet(String[] serverSupportedProtocols, io.netty.handler.ssl.SslProvider sslProvider)
public static boolean isOnlineEnv(String serverUrl)
public static String getHttpServerAddress()
public static String getServerAddress()
public static String getServerAddress(ClientConfig clientConfig)
Copyright © 2022. All rights reserved.