Package org.newsclub.net.unix

Examples of org.newsclub.net.unix.AFUNIXSocket.connect()


       //Stop signal to the boss thread
       this.bossInstance.stop();
       //Send a dummy request to actually stop the thread.
       AFUNIXSocket sock = AFUNIXSocket.newInstance();
       try {
         sock.connect(new AFUNIXSocketAddress(this.socketFile));
       } catch (AFUNIXSocketException e) {
         logger.warn("Failed to connect to Socket while sending a stop request.");
       }
       //Close the socket
       channel.socket.close();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.