|  | @@ -5,7 +5,6 @@ import lombok.extern.slf4j.Slf4j;
 | 
											
												
													
														|  |  import javax.websocket.*;
 |  |  import javax.websocket.*;
 | 
											
												
													
														|  |  import javax.websocket.server.ServerEndpoint;
 |  |  import javax.websocket.server.ServerEndpoint;
 | 
											
												
													
														|  |  import java.io.IOException;
 |  |  import java.io.IOException;
 | 
											
												
													
														|  | -import java.util.Map;
 |  | 
 | 
											
												
													
														|  |  import java.util.concurrent.ConcurrentHashMap;
 |  |  import java.util.concurrent.ConcurrentHashMap;
 | 
											
												
													
														|  |  import java.util.concurrent.ConcurrentMap;
 |  |  import java.util.concurrent.ConcurrentMap;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -31,7 +30,6 @@ public class LogChannel {
 | 
											
												
													
														|  |      public void onOpen(Session session, EndpointConfig endpointConfig) {
 |  |      public void onOpen(Session session, EndpointConfig endpointConfig) {
 | 
											
												
													
														|  |          this.session = session;
 |  |          this.session = session;
 | 
											
												
													
														|  |          this.session.setMaxIdleTimeout(0);
 |  |          this.session.setMaxIdleTimeout(0);
 | 
											
												
													
														|  | -        System.out.println();
 |  | 
 | 
											
												
													
														|  |          CHANNELS.put(this.session.getId(), this);
 |  |          CHANNELS.put(this.session.getId(), this);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          log.info("[Web-Log] 连接已建立: id={}", this.session.getId());
 |  |          log.info("[Web-Log] 连接已建立: id={}", this.session.getId());
 | 
											
										
											
												
													
														|  | @@ -41,7 +39,6 @@ public class LogChannel {
 | 
											
												
													
														|  |      public void onClose(CloseReason closeReason) {
 |  |      public void onClose(CloseReason closeReason) {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          log.info("[Web-Log] 连接已断开: id={}, err={}", this.session.getId(), closeReason);
 |  |          log.info("[Web-Log] 连接已断开: id={}, err={}", this.session.getId(), closeReason);
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |          CHANNELS.remove(this.session.getId());
 |  |          CHANNELS.remove(this.session.getId());
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 |