Package org.newsclub.net.unix

Examples of org.newsclub.net.unix.AFUNIXSocket


     boolean bound = channel.isBound();
     try {
       //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

Related Classes of org.newsclub.net.unix.AFUNIXSocket

Copyright © 2018 www.massapicom. 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.