If an event occurs, the server sends the data to the client, and the client reconnects.
如果有事件发生,服务器端会发送数据到客户端,然后客户端重新连接。
To know precisely what time an event occurs, it is also important to know the event's location.
要了解事件发生的精确时间,还必须知道发生此事件的位置。
If an event occurs during the specified time period, this method exits, returning the relevant WatchKey.
如果在特定时间范围内,有任何事件发生,这一方法存在,会返回相应的WatchKey。
应用推荐