List of usage examples for io.netty.channel.unix DomainSocketAddress path
public String path()
From source file:net.petercashel.nettyCore.serverUDS.serverCoreUDS.java
License:Apache License
public static DomainSocketAddress newSocketAddress(File socket) { socket.delete();//from ww w . ja v a2s .c om DomainSocketAddress sock = new DomainSocketAddress(socket); System.out.println(sock.path()); return sock; }