master
parent
e6f4bf340c
commit
1ff9b6f360
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>cn.cloudowr</groupId>
|
||||
<artifactId>sdk</artifactId>
|
||||
<version>1.4.15</version>
|
||||
<version>1.4.16</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@ public class Logger {
|
|||
private static ClientChannelContext<Object, Message, Object> clientChannelContext;
|
||||
|
||||
public static void initLogger() throws Exception {
|
||||
String serverIp = "127.0.0.1";
|
||||
initLogger("127.0.0.1");
|
||||
}
|
||||
public static void initLogger(String serverHost) throws Exception {
|
||||
String serverIp = serverHost;
|
||||
int serverPort = Const.PORT;
|
||||
serverNode = new Node(serverIp, serverPort);
|
||||
aioClientHandler = new BaseClientAioHandler();
|
||||
|
|
|
|||
Loading…
Reference in New Issue