2023年12月8日18:17:06
parent
f2f73411a0
commit
6be1181d97
|
|
@ -74,7 +74,6 @@ public class ChatAppImplController {
|
||||||
public static final String color_cell = "#f4f4f4";
|
public static final String color_cell = "#f4f4f4";
|
||||||
|
|
||||||
private WebSocketClient webSocketClient;
|
private WebSocketClient webSocketClient;
|
||||||
private NettyClient nettyClient;
|
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
|
|
@ -109,8 +108,7 @@ public class ChatAppImplController {
|
||||||
AlertUtils.alert_warning("请输入文本在发送!");
|
AlertUtils.alert_warning("请输入文本在发送!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//webSocketClient.send(content.getText());
|
webSocketClient.send(content.getText());
|
||||||
nettyClient.sendMsg(content.getText());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void webSocketClient(ChatAppImplController.Type type, String socket_address, int socket_port, String path , String params) {
|
public void webSocketClient(ChatAppImplController.Type type, String socket_address, int socket_port, String path , String params) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue