public class ServerChannel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ServerChannel.ServerChannelPoolHandler |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
connect(String[] serversIp,
int port) |
static void |
send(Object message) |
static void |
serverChanged(List<String> allServers)
server发生变化时,与内存中的server列表同步.
|
static void |
shutdown() |
public static void connect(String[] serversIp, int port)
public static void send(Object message)
public static void serverChanged(List<String> allServers)
allServers - public static void shutdown()
throws InterruptedException
Copyright © 2016. All rights reserved.