示例#1
0
文件: UDP.java 项目: NZDIS/jgroups
 public void stop() {
   if (Trace.trace) {
     Trace.info("UDP.stop()", "closing sockets and stopping threads");
   }
   stopThreads(); // will close sockets, closeSockets() is not really needed anymore, but...
   closeSockets(); // ... we'll leave it in there for now (doesn't do anything if already closed)
 }